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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1773
RA = 186.252, Dec = 3.5098
tmin = 698889601, tmax = 699148801
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='790497', job_status='RUN', time_executed='2023-02-27 09:53:38.944028', time_epoch_executed='1677520418.94' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790497/ft1_4FGL_J1225.0+0330_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790497/ft1_4FGL_J1225.0+0330_daily_bin1773.fits outfile=/scratch/kocevski/790497/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1773.fits ra=186.252 dec=3.5098 rad=12.0 tmin=698889601.0 tmax=699148801.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.01
user 2.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.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/790497/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.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.36
sys 0.14

Number of photons that the gtmktime cut: 138

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/790497/ltcube_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.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/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits
.....................!
real 15.33
user 14.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/790497/ltcube_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits outfile=/scratch/kocevski/790497/expmap_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.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/790497/ltcube_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits
.....................!
real 193.06
user 186.70
sys 4.51

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

Setting source of interest to:
4FGL J1225.0+0330 @ 186.252 3.5098

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits outfile=/scratch/kocevski/790497/cmap_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.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=186.252 yref=3.5098 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.88
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits outfile=/scratch/kocevski/790497/cmap_HighResolution_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.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=186.252 yref=3.5098 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790497/Model_4FGL_J1225.0+0330_daily_bin1773.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/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits.......................!
real 24.93
user 23.00
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits', '/scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits', expMap='/scratch/kocevski/790497/expmap_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits', expCube='/scratch/kocevski/790497/ltcube_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790497/Model_4FGL_J1225.0+0330_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.0+0330'

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  8.374e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790497/ft1_filtered_4FGL_J1225.0+0330_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/790497/ft2_4FGL_J1225.0+0330_daily_bin1773.fits
Exposure map: /scratch/kocevski/790497/expmap_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits
Exposure cube: /scratch/kocevski/790497/ltcube_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790497/Model_4FGL_J1225.0+0330_daily_bin1773.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) = 1717.71773232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1939       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21749E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .77654E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    138.20       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12832E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.5906       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17572       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55101E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.0076       1.0000          .0000       .10000E+07
    10 'Prefactor '    .66774E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    25.127       1.0000          .0000       .10000E+07
    12 'norm      '    .55296E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .51790       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22749E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .40501E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .33187E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44173E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .96972E-02   1.0000          .0000       .10000E+07
    19 'norm      '    7.1412       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.8525       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30545E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .36617E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    33.115       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1717.528     FROM MIGRAD    STATUS=CONVERGED    277 CALLS     2279 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36008E-05    357.94        .49145E-06** at limit **
   2  Prefactor     .55511E-10    47.541        .33298E-06** at limit **
   3  Prefactor     .11102E-09    13.580        .92911E-07** at limit **
   4  Prefactor     144.47        161.90        .58778E-07   -.19563E-01
   5  Prefactor     .61895E-07    47.816        .10526E-06** at limit **
   6  Prefactor     .48658E-05    424.33        .16748E-05** at limit **
   7  Prefactor      .0000        202.88        .26475E-06** at limit **
   8  Prefactor     .15940E-04    38.900       -.30604E-06** at limit **
   9  Prefactor     9.0960        15.398       -.42068E-07   -.57230E-01
  10  Prefactor     .31069E-05    36.329       -.28906E-06** at limit **
  11  Prefactor     24.803        27.518       -.25617E-06   -.50689E-02
  12  norm           .0000        3.4345        .17024E-08** at limit **
  13  norm          .37881        36.998       -.12164E-06    .66969E-04
  14  Prefactor     .34439E-06    96.248       -.19939E-06** at limit **
  15  norm          .23349E-03    34.014       -.23835E-06** at limit **
  16  norm          .42624E-01    10.745       -.66794E-06** at limit **
  17  Prefactor     .28477E-07    39.781       -.83625E-06** at limit **
  18  Prefactor     .33307E-09    9.7709        .11444E-06** at limit **
  19  norm          7.1495        4.9294        .24211E-07    .13199E-02
  20  Prefactor     1.7113        26.337        .49929E-07   -.79951E-04
  21  Prefactor     .17632E-03    41.865       -.32913E-06** at limit **
  22  norm           .0000        12.828       -.17158E-06** at limit **
  23  Prefactor     33.256        8.2997        .82680E-07    .40302E-01
  24  Normalizat    .10000E-01    .18021        .84800E-05** at limit **
  25  Prefactor     1.5046        .19332       -.20969E-05   -.13546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60079e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 144.471
  Prefactor  = 6.18949e-08
  Prefactor  = 4.86577e-06
  Prefactor  = 0
  Prefactor  = 1.594e-05
  Prefactor  = 9.09597
  Prefactor  = 3.1069e-06
  Prefactor  = 24.8029
  norm       = 0
  norm       = 0.378814
  Prefactor  = 3.44391e-07
  norm       = 0.000233492
  norm       = 0.0426245
  Prefactor  = 2.84772e-08
  Prefactor  = 3.33067e-10
  norm       = 7.1495
  Prefactor  = 1.7113
  Prefactor  = 0.000176318
  norm       = 0
  Prefactor  = 33.2562
  Normalizat = 0.01
  Prefactor  = 1.5046
 **********
 **   18 **HESSE 
 **********

 FCN=   1717.528     FROM HESSE     STATUS=OK           477 CALLS     2756 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36008E-05    358.59        .10409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    46.909        .16924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    13.600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     144.47        163.42        .85070E-04   -1.5468    
   5  Prefactor     .61895E-07    47.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .48658E-05    422.60        .42465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        201.93        .12225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15940E-04    145.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.0960        66.354        .35408E-03   -1.5648    
  10  Prefactor     .31069E-05    143.56        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.803        30.020        .19954E-03   -1.5608    
  12  norm           .0000        3.4226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .37881        12.591        .47470E-02   -1.5696    
  14  Prefactor     .34439E-06    106.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23349E-03    137.56        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .42624E-01    1.8429        .19173E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28477E-07    39.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33307E-09    9.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.1495        4.8536        .37514E-03   -1.5654    
  20  Prefactor     1.7113        26.136        .76563E-03   -1.5682    
  21  Prefactor     .17632E-03    151.55        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        12.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     33.256        29.490        .17380E-03   -1.5593    
  24  Normalizat    .10000E-01    .15952        .24634       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.5046        .21215        .43787E-01   -.77411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12543e-06
Minuit parameter uncertainties:
  1  0.0718711
  2  0.000123799
  3  7.95231e-05
  4  163.43
  5  0.00344525
  6  0.0906983
  7  0.000145399
  8  0.0964388
  9  49.1356
  10  0.0422404
  11  30.0202
  12  1.44054e-05
  13  4.36792
  14  0.0121385
  15  0.358444
  16  0.56055
  17  0.00213258
  18  0.000112439
  19  4.8536
  20  13.3757
  21  0.326936
  22  1.45108e-05
  23  29.4902
  24  6.16523e-07
  25  0.212277
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  2.335e-04  3.584e-01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.505e+00  2.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.000e-02  6.165e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.252 3.510
Photon Flux Upper Limit: 2.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790497/likelihoodResults_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.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) = 1717.53201404
delta logL = -0.00351555257339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1717.52849769
delta logL = 8.00469024398e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99365E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    3.3092       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5046       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1717.387     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      336 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.621        30.701        .42118E-03    .46088E-03
   2  alpha         .21066E-12    3.2964        .44276    ** at limit **
   3  Normalizat    .10000E-01    .15376        .24402    ** at limit **
   4  Prefactor     1.4939        .19302        .43908E-01    .32659E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6211
  alpha      = 2.10665e-13
  Normalizat = 0.01
  Prefactor  = 1.49391
 **********
 **   18 **HESSE 
 **********

 FCN=   1717.387     FROM HESSE     STATUS=OK            29 CALLS      365 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.621        30.591        .16847E-04   -1.5634    
   2  alpha         .21066E-12    3.3234        .24164E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .17772        .89346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4939        .17157        .19406E-03   -.77711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60524e-11
Minuit parameter uncertainties:
  1  30.5914
  2  1.25452e-06
  3  8.56942e-07
  4  0.17164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790497': 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) = 1717.38716118
delta logL = 0.141337314408

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.362e+01  3.059e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.107e-13  1.255e-06  0.000e+00  5.000e+00 ( 1.000e+00)
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.494e+00  1.716e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.000e-02  8.569e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.252 3.510

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/790497/cmap_HighResolution_698889601_699148801_4FGL_J1225.0+0330_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.71e-05', job_status='DONE', photon_flux_upper_limit='2.09e-07', time_completed='2023-02-27 10:00:28.392822', job_id='790497', GAL2='1.49', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677520828.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.50', dlogl='1.41e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1773' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:00:28 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 790497: <4FGL_J1225.0+0330_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 09:45:15 2023
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:45:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:45:16 2023
Terminated at Mon Feb 27 10:00:29 2023
Results reported at Mon Feb 27 10:00:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1773 186.252 3.5098 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.0+0330 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   408.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             174.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

