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 113 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_J1233.7-0144_daily_bin1780
RA = 188.434, Dec = -1.7428
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='62602', job_status='RUN', time_executed='2023-03-20 00:52:20.447169', time_epoch_executed='1679298740.45' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62602

Creating custom pfile directory:
/scratch/kocevski/62602/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/62602/ft1_4FGL_J1233.7-0144_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/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62602/ft1_4FGL_J1233.7-0144_daily_bin1780.fits outfile=/scratch/kocevski/62602/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1780.fits ra=188.434 dec=-1.7428 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.09
user 3.87
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_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/62602/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_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.49
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 259

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62602/ltcube_700704001_700963201_4FGL_J1233.7-0144_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/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits
.....................!
real 12.07
user 11.67
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62602/ltcube_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits outfile=/scratch/kocevski/62602/expmap_700704001_700963201_4FGL_J1233.7-0144_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/62602/ltcube_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits
.....................!
real 190.04
user 185.29
sys 4.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 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/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits outfile=/scratch/kocevski/62602/cmap_700704001_700963201_4FGL_J1233.7-0144_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=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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits outfile=/scratch/kocevski/62602/cmap_HighResolution_700704001_700963201_4FGL_J1233.7-0144_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=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.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62602/Model_4FGL_J1233.7-0144_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/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits......................!
real 31.40
user 30.12
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits', '/scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits', expMap='/scratch/kocevski/62602/expmap_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits', expCube='/scratch/kocevski/62602/ltcube_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62602/Model_4FGL_J1233.7-0144_daily_bin1780.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/62602/ft1_filtered_4FGL_J1233.7-0144_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62602/ft2_4FGL_J1233.7-0144_daily_bin1780.fits
Exposure map: /scratch/kocevski/62602/expmap_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62602/ltcube_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62602/Model_4FGL_J1233.7-0144_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) = 2843.09102972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.089       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.972       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20891E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .83066E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.1013       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.430       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.1742       1.0000          .0000       .10000E+07
     8 'norm      '    .34266E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .75415E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .24827E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .43675E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .37227E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.7783       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.433       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29754E-02   1.0000          .0000       .10000E+07
    16 'norm      '    2.9961       1.0000          .0000       .10000E+07
    17 'Prefactor '    .89662E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    74.570       1.0000          .0000       .10000E+07
    19 'norm      '    .16436E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .24788       1.0000          .0000       .10000E+07
    21 'Prefactor '    .49447E-02   1.0000          .0000       .10000E+07
    22 'norm      '    53.682       1.0000          .0000       .10000E+07
    23 'Prefactor '    .12354E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .44424       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96868       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=   2842.760     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2128 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.138        12.605        .14280E-05    .79570E-02
   2  Prefactor     27.164        2.6138        .82549E-06    .23339E-01
   3  Prefactor     .10591E-05    9.0448        .12889E-05** at limit **
   4  Prefactor     .25591E-07    13.919       -.59598E-06** at limit **
   5  Prefactor     8.1104        6.2145        .26035E-05   -.36991E-01
   6  Prefactor     17.487        1.1372        .29988E-06    .75523E-02
   7  Prefactor     7.7832        5.4496       -.39899E-05   -.43996E-01
   8  norm          .61062E-09    4.5724       -.15996E-05** at limit **
   9  norm          .55511E-10    1.4294       -.46412E-06** at limit **
  10  Prefactor     .65614E-07    14.945        .64404E-05** at limit **
  11  norm          .99976E-07    44.107       -.12789E-04** at limit **
  12  Prefactor     .13878E-08    8.5813        .18238E-05** at limit **
  13  norm          1.7852        .79902       -.11977E-05    .36331E-03
  14  Prefactor     14.464        11.134        .10425E-05   -.23683E-02
  15  Prefactor     .22204E-09    10.822        .15425E-05** at limit **
  16  norm          3.0072        2.1671        .44463E-06   -.72287E-04
  17  Prefactor     .16653E-09    3.5017        .95822E-07** at limit **
  18  Prefactor     82.327        70.394        .46033E-05    .19250E-03
  19  norm          .52491E-06    20.148        .17173E-04** at limit **
  20  norm          .23901        .24620        .66776E-07** at limit **
  21  Prefactor     .91538E-07    20.450       -.20589E-04** at limit **
  22  norm          53.882        1.9130        .13107E-06   -.40509E-02
  23  Prefactor     .21705E-06    109.64        .17348E-04** at limit **
  24  Normalizat    .43757        .30650        .41228E-04   -.33152E-04
  25  Prefactor     .97023        .22681       -.57902E-04   -.19230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1381
  Prefactor  = 27.1638
  Prefactor  = 1.0591e-06
  Prefactor  = 2.55906e-08
  Prefactor  = 8.11045
  Prefactor  = 17.4873
  Prefactor  = 7.78319
  norm       = 6.10623e-10
  norm       = 5.55112e-11
  Prefactor  = 6.56142e-08
  norm       = 9.99756e-08
  Prefactor  = 1.38778e-09
  norm       = 1.78521
  Prefactor  = 14.4642
  Prefactor  = 2.22045e-10
  norm       = 3.00717
  Prefactor  = 1.66533e-10
  Prefactor  = 82.3273
  norm       = 5.24913e-07
  norm       = 0.23901
  Prefactor  = 9.15379e-08
  norm       = 53.8824
  Prefactor  = 2.17049e-07
  Normalizat = 0.437572
  Prefactor  = 0.970232
 **********
 **   18 **HESSE 
 **********

 FCN=   2842.760     FROM HESSE     STATUS=OK           475 CALLS     2603 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.138        12.950        .27661E-03   -1.5635    
   2  Prefactor     27.164        21.884        .19259E-03   -1.5604    
   3  Prefactor     .10591E-05    25.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25591E-07    14.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.1104        38.395        .37620E-03   -1.5651    
   6  Prefactor     17.487        19.810        .23963E-03   -1.5624    
   7  Prefactor     7.7832        19.181        .35043E-03   -1.5652    
   8  norm          .61062E-09    4.5645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    1.4322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .65614E-07    15.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .99976E-07    45.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .13878E-08    8.6071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7852        .81713        .66863E-03   -1.5681    
  14  Prefactor     14.464        11.171        .26338E-03   -1.5632    
  15  Prefactor     .22204E-09    10.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.0072        2.1800        .58619E-03   -1.5673    
  17  Prefactor     .16653E-09    3.5011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     82.327        70.814        .11581E-03   -1.5526    
  19  norm          .52491E-06    26.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .23901        .25817        .55150E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .91538E-07    23.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          53.882        19.985        .13650E-03   -1.5561    
  23  Prefactor     .21705E-06    110.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .43757        .28997        .80473E-01   -1.1540    
  25  Prefactor     .97023        .20303        .45874E-01   -.93728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1e-07
Minuit parameter uncertainties:
  1  12.9496
  2  21.8837
  3  0.0103417
  4  0.0012054
  5  35.2932
  6  19.8096
  7  19.1813
  8  0.000106724
  9  2.10639e-05
  10  0.00203509
  11  0.00425701
  12  0.000219665
  13  0.81713
  14  11.171
  15  0.000100262
  16  2.17997
  17  4.50615e-05
  18  70.8144
  19  0.00749452
  20  0.258174
  21  0.00293759
  22  19.9854
  23  0.00977446
  24  0.290972
  25  0.203195
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  1.446e+01  1.117e+01  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:  9.702e-01  2.032e-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:  4.376e-01  2.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.51
Ra Dec: 188.434 -1.743
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.15e-08 +/- 3.98e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 2.38e-05

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) = 2842.6590041
delta logL = 0.101333980867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2842.65453343
delta logL = 0.10580464991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.277       1.0000          .0000       .10000E+07
     2 'Index     '    1.7961       1.0000          .0000       10.000    
     3 'Normalizat'    .44880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96553       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=   2842.655     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.320        543.01        .23400E-03   -.52450E-03
   2  Index         1.7979        5.2858        .15390        .13292E-05
   3  Normalizat    .44870        .22040        .79528E-01    .23440E-04
   4  Prefactor     .96543        .11317        .45835E-01    .49731E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3204
  Index      = 1.79787
  Normalizat = 0.448698
  Prefactor  = 0.965431
 **********
 **   18 **HESSE 
 **********

 FCN=   2842.655     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.320        15.742        .93598E-05   -1.5622    
   2  Index         1.7979        .55673        .58658E-02   -.69505    
   3  Normalizat    .44870        .28947        .35222E-03   -1.1486    
   4  Prefactor     .96543        .22519        .18942E-03   -.93891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61873e-12
Minuit parameter uncertainties:
  1  15.7422
  2  0.558698
  3  0.290443
  4  0.22541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62602': 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) = 2842.65451804
delta logL = 0.105820038275

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  1.832e+01  1.574e+01  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.798e+00  5.587e-01  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:  9.654e-01  2.254e-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:  4.487e-01  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.71
Ra Dec: 188.434 -1.743
Photon Index (Free Index): 1.80 +/- 0.56
Photon Flux (Free Index): 4.05e-08 +/- 3.91e-08
Energy Flux (Free Index): 4.88e-05 +/- 6.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/62602/cmap_HighResolution_700704001_700963201_4FGL_J1233.7-0144_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.15e-08', energy_flux2='4.88e-05', photon_flux_error='3.98e-08', dlogl='1.06e-01', energy_flux='3.08e-05', photon_flux2='4.05e-08', job_status='DONE', time_completed='2023-03-20 00:59:50.300998', photon_index_error2='0.56', photon_index2='1.80', ts='4.51', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='6.64e-05', EG='0.44', time_epoch_completed='1679299190.3', return_code='0', job_id='62602', GAL2='0.97', EG2='0.45', return_code2='0', energy_flux_error='2.38e-05', photon_flux_error2='3.91e-08', ts2='4.71', photon_index='2.06' WHERE bin_id='1780' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:59:50 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 62602: <4FGL_J1233.7-0144_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:18 2023
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50: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:50:19 2023
Terminated at Mon Mar 20 00:59:51 2023
Results reported at Mon Mar 20 00:59:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1780 188.434 -1.7428 700704001 700963201 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 :                                   452.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            573 sec.

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

