aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 53 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7555
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1771
RA = 188.434, Dec = -1.7428
tmin = 698371201, tmax = 698630401
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='547593', job_status='RUN', time_executed='2023-02-21 00:51:24.877574', time_epoch_executed='1676969484.88' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547593

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547593/ft1_4FGL_J1233.7-0144_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547593/ft1_4FGL_J1233.7-0144_daily_bin1771.fits outfile=/scratch/kocevski/547593/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1771.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=698371201.0 tmax=698630401.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.16
user 2.85
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.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/547593/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.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.32
sys 0.16

Number of photons that the gtmktime cut: 221

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/547593/ltcube_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.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/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits
.....................!
real 12.80
user 12.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/547593/ltcube_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits outfile=/scratch/kocevski/547593/expmap_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.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/547593/ltcube_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits
.....................!
real 191.26
user 186.07
sys 4.75

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

Setting source of interest to:
4FGL J1233.7-0144 @ 188.434 -1.7428

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits outfile=/scratch/kocevski/547593/cmap_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.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=188.434 yref=-1.7428 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.61
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits outfile=/scratch/kocevski/547593/cmap_HighResolution_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.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=188.434 yref=-1.7428 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/547593/Model_4FGL_J1233.7-0144_daily_bin1771.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/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits.....................!
real 29.99
user 28.58
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits', '/scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits', expMap='/scratch/kocevski/547593/expmap_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits', expCube='/scratch/kocevski/547593/ltcube_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547593/Model_4FGL_J1233.7-0144_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1233.7-0144'

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  3.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.061e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/547593/ft1_filtered_4FGL_J1233.7-0144_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/547593/ft2_4FGL_J1233.7-0144_daily_bin1771.fits
Exposure map: /scratch/kocevski/547593/expmap_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits
Exposure cube: /scratch/kocevski/547593/ltcube_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547593/Model_4FGL_J1233.7-0144_daily_bin1771.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) = 2525.30539774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18061E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30671E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    47.011       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31738E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29275E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62621E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.258       1.0000          .0000       .10000E+07
     8 'norm      '    .16642E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .16716E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    75.578       1.0000          .0000       .10000E+07
    11 'norm      '    18.260       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31781E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .19762E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .91209E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.040       1.0000          .0000       .10000E+07
    16 'norm      '    .77750       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.196       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52947E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .18422E-01   1.0000          .0000       .10000E+07
    20 'norm      '    1.0173       1.0000          .0000       .10000E+07
    21 'Prefactor '    .44779E-02   1.0000          .0000       .10000E+07
    22 'norm      '    17.441       1.0000          .0000       .10000E+07
    23 'Prefactor '    .42926E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.5868       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .71629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2525.186     FROM MIGRAD    STATUS=CONVERGED    236 CALLS     2169 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    13.018        .52790E-06** at limit **
   2  Prefactor     .16653E-09    13.355        .83345E-06** at limit **
   3  Prefactor     50.296        39.679       -.16490E-05   -.56601E-01
   4  Prefactor     .12800E-04    264.86        .32259E-05** at limit **
   5  Prefactor     .21649E-08    22.044       -.13111E-06** at limit **
   6  Prefactor     .13323E-08    54.950        .78007E-05** at limit **
   7  Prefactor     18.138        19.859       -.15718E-06   -.11546E-01
   8  norm          .33307E-09    11.858       -.71770E-06** at limit **
   9  norm           .0000        9.4619        .12043E-06** at limit **
  10  Prefactor     84.047        124.09        .33891E-05   -.34129E-02
  11  norm          24.706        78.331        .31649E-05   -.81781E-02
  12  Prefactor     .55511E-10    6.1307       -.30311E-06** at limit **
  13  norm           .0000        1.1576       -.10230E-07** at limit **
  14  Prefactor     .61062E-09    71.585        .86467E-05** at limit **
  15  Prefactor     13.937        17.027        .55459E-06    .31472E-01
  16  norm          .75853        3.2482        .39857E-06   -.16578E-03
  17  Prefactor     18.043        17.650       -.13543E-06    .30994E-01
  18  Prefactor     .16653E-09    53.734        .20012E-05** at limit **
  19  norm           .0000        16.532       -.12339E-05** at limit **
  20  norm          1.0209        .43841        .12463E-06   -.78973E-03
  21  Prefactor     .20491E-04    104.95        .30462E-05** at limit **
  22  norm          17.175        16.846        .18244E-06   -.39311E-01
  23  Prefactor     .55511E-10    11.563       -.22491E-06** at limit **
  24  Normalizat    1.5839        .44766       -.41277E-07   -.23288E-05
  25  Prefactor     .71557        .27651       -.10059E-04   -.34673E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 50.2961
  Prefactor  = 1.27995e-05
  Prefactor  = 2.16493e-09
  Prefactor  = 1.33227e-09
  Prefactor  = 18.1382
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 84.0473
  norm       = 24.7056
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 13.9374
  norm       = 0.758532
  Prefactor  = 18.0435
  Prefactor  = 1.66533e-10
  norm       = 0
  norm       = 1.02093
  Prefactor  = 2.04908e-05
  norm       = 17.1746
  Prefactor  = 5.55112e-11
  Normalizat = 1.58387
  Prefactor  = 0.715565
 **********
 **   18 **HESSE 
 **********

 FCN=   2525.186     FROM HESSE     STATUS=OK           479 CALLS     2648 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    13.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    13.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     50.296        59.778        .14586E-03   -1.5566    
   4  Prefactor     .12800E-04    290.97        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21649E-08    22.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13323E-08    54.775        .15069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.138        20.329        .23412E-03   -1.5623    
   8  norm          .33307E-09    11.786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        9.1858        .17263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     84.047        123.34        .11503E-03   -1.5525    
  11  norm          24.706        80.341        .23411E-03   -1.5609    
  12  Prefactor     .55511E-10    6.1279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.1443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61062E-09    24.739        .78414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.937        19.794        .26705E-03   -1.5633    
  16  norm          .75853        3.2842        .54628E-03   -1.5691    
  17  Prefactor     18.043        20.597        .23452E-03   -1.5623    
  18  Prefactor     .16653E-09    53.524        .15425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        16.510        .17143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0209        .43899        .45709E-03   -1.5688    
  21  Prefactor     .20491E-04    154.27        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          17.175        21.307        .23955E-03   -1.5625    
  23  Prefactor     .55511E-10    11.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.5839        .38533        .64587E-01   -.75448    
  25  Prefactor     .71557        .24136        .42618E-01   -1.0292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1044e-07
Minuit parameter uncertainties:
  1  0.00015448
  2  8.91537e-05
  3  59.7789
  4  0.12206
  5  0.000437096
  6  0.000540635
  7  20.3294
  8  0.0001269
  9  1.49453e-06
  10  123.34
  11  80.3443
  12  2.81123e-05
  13  9.79936e-07
  14  0.000250882
  15  19.7941
  16  3.1567
  17  20.5975
  18  0.000191286
  19  1.9321e-05
  20  0.438985
  21  0.11245
  22  21.3076
  23  5.03856e-05
  24  0.386052
  25  0.241715
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  6.106e-10  2.509e-04  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.061e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.156e-01  2.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.584e+00  3.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 188.434 -1.743
Photon Flux Upper Limit: 1.98e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/547593/likelihoodResults_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.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) = 2525.19334855
delta logL = -0.00772449037186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2524.94554186
delta logL = 0.240082195766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40144       1.0000          .0000       .10000E+07
     2 'Index     '    3.8977       1.0000          .0000       10.000    
     3 'Normalizat'    1.4955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2524.946     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39989        16.964        .89320E-03    .37264E-02
   2  Index         3.8992        3.7125        .93529E-01    .59903E-04
   3  Normalizat    1.4954        .86417E-01    .66048E-01   -.85944E-05
   4  Prefactor     .74684        .57217E-01    .43022E-01    .58063E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.399894
  Index      = 3.89924
  Normalizat = 1.49538
  Prefactor  = 0.746843
 **********
 **   18 **HESSE 
 **********

 FCN=   2524.946     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39989        46.464        .48550E-04   -1.5695    
   2  Index         3.8992        6.6791        .50978E-02   -.22197    
   3  Normalizat    1.4954        .32719        .29215E-03   -.77908    
   4  Prefactor     .74684        .21354        .26276E-03   -1.0172    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.12758e-07
Minuit parameter uncertainties:
  1  8.62109
  2  8.86861
  3  0.32765
  4  0.213778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547593': 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) = 2524.94554118
delta logL = 0.240082879026

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  3.999e-01  8.621e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  3.899e+00  8.869e+00  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.468e-01  2.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.495e+00  3.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 188.434 -1.743

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/547593/cmap_HighResolution_698371201_698630401_4FGL_J1233.7-0144_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', job_status='DONE', photon_flux_upper_limit='1.98e-07', time_completed='2023-02-21 00:58:53.808369', job_id='547593', GAL2='0.75', fit_tolerance='1e-08', EG2='1.50', EG='1.58', time_epoch_completed='1676969933.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='2.40e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1771' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:58:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 547593: <4FGL_J1233.7-0144_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:50:22 2023
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:50:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:50:22 2023
Terminated at Tue Feb 21 00:58:54 2023
Results reported at Tue Feb 21 00:58:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1771 188.434 -1.7428 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1233.7-0144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   450.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            512 sec.

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

