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

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


Waiting 52 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7681
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1780
RA = 186.252, Dec = 3.5098
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='62581', job_status='RUN', time_executed='2023-03-20 00:51:17.735638', time_epoch_executed='1679298677.74' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62581

Creating custom pfile directory:
/scratch/kocevski/62581/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/62581/ft1_4FGL_J1225.0+0330_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/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62581/ft1_4FGL_J1225.0+0330_daily_bin1780.fits outfile=/scratch/kocevski/62581/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1780.fits ra=186.252 dec=3.5098 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.13
user 3.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_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/62581/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_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.33
sys 0.15

Number of photons that the gtmktime cut: 247

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62581/ltcube_700704001_700963201_4FGL_J1225.0+0330_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/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits
.....................!
real 12.58
user 12.17
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62581/ltcube_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits outfile=/scratch/kocevski/62581/expmap_700704001_700963201_4FGL_J1225.0+0330_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/62581/ltcube_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits
.....................!
real 190.58
user 184.81
sys 5.25

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/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits outfile=/scratch/kocevski/62581/cmap_700704001_700963201_4FGL_J1225.0+0330_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=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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits outfile=/scratch/kocevski/62581/cmap_HighResolution_700704001_700963201_4FGL_J1225.0+0330_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=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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62581/Model_4FGL_J1225.0+0330_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/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits.....................!
real 31.34
user 30.08
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits', '/scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits', expMap='/scratch/kocevski/62581/expmap_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits', expCube='/scratch/kocevski/62581/ltcube_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62581/Model_4FGL_J1225.0+0330_daily_bin1780.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/62581/ft1_filtered_4FGL_J1225.0+0330_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62581/ft2_4FGL_J1225.0+0330_daily_bin1780.fits
Exposure map: /scratch/kocevski/62581/expmap_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62581/ltcube_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62581/Model_4FGL_J1225.0+0330_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) = 2799.54101316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13323E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.978       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.088       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35527E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36693E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3835       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.244       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.5446       1.0000          .0000       .10000E+07
    12 'norm      '    .13439E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
    14 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    15 'norm      '    .64226E-07   1.0000          .0000       .10000E+07
    16 'norm      '    1.7021       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20134E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.290       1.0000          .0000       .10000E+07
    19 'norm      '    2.9050       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18874E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11145E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .33307E-09   1.0000          .0000       .10000E+07
    23 'Prefactor '    22.870       1.0000          .0000       .10000E+07
    24 'Normalizat'    .65807       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82971       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=   2799.458     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     2502 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12046E-06    28.159       -.18857E-06** at limit **
   2  Prefactor      .0000        4.3966       -.29686E-07** at limit **
   3  Prefactor     11.980        12.181        .21798E-09   -.23772E-02
   4  Prefactor     .55511E-09    10.291        .58895E-07** at limit **
   5  Prefactor     29.091        1.3770       -.33392E-08   -.95426E-03
   6  Prefactor     .44102E-05    21.001        .25439E-06** at limit **
   7  Prefactor     .10755E-04    21.310        .27829E-06** at limit **
   8  Prefactor     .10714E-07    13.104       -.69436E-07** at limit **
   9  Prefactor     3.3817        1.8758        .23422E-07    .29243E-04
  10  Prefactor     18.244        1.0349        .47187E-09   -.25498E-02
  11  Prefactor     6.5662        2.9316        .10599E-07    .93975E-02
  12  norm          .16653E-09    4.5182       -.17861E-06** at limit **
  13  norm           .0000        1.5221       -.18423E-07** at limit **
  14  Prefactor     .27791E-05    13.298       -.14881E-06** at limit **
  15  norm          .19467E-04    19.148        .71278E-07** at limit **
  16  norm          1.7022        .78763       -.19315E-07   -.73155E-02
  17  Prefactor     .36640E-05    12.011       -.10942E-06** at limit **
  18  Prefactor     13.289        10.400       -.87559E-08   -.89844E-03
  19  norm          2.9054        2.1533        .58941E-07    .22147E-02
  20  Prefactor     .55511E-10    2.8025        .16305E-06** at limit **
  21  Prefactor     .49233E-05    90.306        .46413E-06** at limit **
  22  norm          .39513E-06    16.453       -.74553E-07** at limit **
  23  Prefactor     22.876        1.3659       -.36331E-09   -.97096E-02
  24  Normalizat    .65788        .27262       -.55283E-05   -.12550E-03
  25  Prefactor     .82970        .22311        .14029E-05   -.12378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20459e-07
  Prefactor  = 0
  Prefactor  = 11.9805
  Prefactor  = 5.55112e-10
  Prefactor  = 29.0913
  Prefactor  = 4.41025e-06
  Prefactor  = 1.07548e-05
  Prefactor  = 1.07137e-08
  Prefactor  = 3.3817
  Prefactor  = 18.2444
  Prefactor  = 6.56617
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 2.77905e-06
  norm       = 1.94672e-05
  norm       = 1.70223
  Prefactor  = 3.66401e-06
  Prefactor  = 13.2893
  norm       = 2.90541
  Prefactor  = 5.55112e-11
  Prefactor  = 4.92328e-06
  norm       = 3.95128e-07
  Prefactor  = 22.8755
  Normalizat = 0.657877
  Prefactor  = 0.8297
 **********
 **   18 **HESSE 
 **********

 FCN=   2799.458     FROM HESSE     STATUS=OK           471 CALLS     2973 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12046E-06    33.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.3982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.980        12.549        .28920E-03   -1.5639    
   4  Prefactor     .55511E-09    10.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.091        23.152        .18545E-03   -1.5600    
   6  Prefactor     .44102E-05    58.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10755E-04    60.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10714E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3817        88.531        .54983E-03   -1.5671    
  10  Prefactor     18.244        20.478        .23421E-03   -1.5623    
  11  Prefactor     6.5662        18.793        .39205E-03   -1.5657    
  12  norm          .16653E-09    4.4932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.5200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27791E-05    23.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19467E-04    48.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7022        .80752        .67645E-03   -1.5682    
  17  Prefactor     .36640E-05    20.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.289        10.426        .27450E-03   -1.5635    
  19  norm          2.9054        2.1599        .59589E-03   -1.5674    
  20  Prefactor     .55511E-10    2.8039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .49233E-05    95.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .39513E-06    17.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     22.876        21.249        .20916E-03   -1.5612    
  24  Normalizat    .65788        .24794        .64249E-01   -1.0558    
  25  Prefactor     .82970        .19611        .44103E-01   -.98643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03408e-06
Minuit parameter uncertainties:
  1  0.00398958
  2  1.78184e-05
  3  12.5488
  4  0.000153654
  5  23.1523
  6  0.032064
  7  0.0508189
  8  0.000756077
  9  34.606
  10  20.478
  11  18.7931
  12  5.059e-05
  13  4.32374e-06
  14  0.0162918
  15  0.0613689
  16  0.807516
  17  0.0175223
  18  10.4261
  19  2.15993
  20  1.79848e-05
  21  0.0432919
  22  0.0052148
  23  21.249
  24  0.248364
  25  0.196277
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.947e-05  6.137e-02  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:  8.297e-01  1.963e-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:  6.579e-01  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/62581/likelihoodResults_700704001_700963201_4FGL_J1225.0+0330_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): 0
logL (Free Index) = 2799.46825607
delta logL = -0.0100006419657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2799.45825543
delta logL = -2.41470843321e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20739E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    4.6164       1.0000          .0000       5.0000    
     3 'Normalizat'    .65771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82983       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=   2799.458     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      253 TOTAL
                     EDM=   .31E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.4962        .42118E-03** at limit **
   2  alpha         1.3202        2.8188        .50000       -.22737E-11
   3  Normalizat    .65788        .14010E-02    .64249E-01   -.12477E-04
   4  Prefactor     .82970        .11732E-02    .44104E-01    .72137E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 1.32022
  Normalizat = 0.657877
  Prefactor  = 0.8297
 **********
 **   18 **HESSE 
 **********

 FCN=   2799.458     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .16E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    7.4687        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3202        2.7623        .50000       -.49146    
   3  Normalizat    .65788        .31245E-02    .28427E-03   -1.0558    
   4  Prefactor     .82970        .26199E-02    .21232E-03   -.98643    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61396e-14
Minuit parameter uncertainties:
  1  4.10657e-05
  2  598027
  3  0.00312448
  4  0.00261989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62581': 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) = 2799.45825523
delta logL = 2.0114794097e-07

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  5.551e-11  4.107e-05  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  1.320e+00  5.980e+05  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:  8.297e-01  2.620e-03  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:  6.579e-01  3.124e-03  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/62581/cmap_HighResolution_700704001_700963201_4FGL_J1225.0+0330_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2023-03-20 00:59:08.284381', job_id='62581', GAL2='0.83', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1679299148.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1780' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:59:08 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 62581: <4FGL_J1225.0+0330_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:16 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:17 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:17 2023
Terminated at Mon Mar 20 00:59:09 2023
Results reported at Mon Mar 20 00:59:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1780 186.252 3.5098 700704001 700963201 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 :                                   472.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   531 sec.
    Turnaround time :                            533 sec.

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

