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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1777
RA = 186.252, Dec = 3.5098
tmin = 699926401, tmax = 700185601
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='914530', job_status='RUN', time_executed='2023-03-11 00:43:35.670589', time_epoch_executed='1678524215.67' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914530

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914530/ft1_4FGL_J1225.0+0330_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914530/ft1_4FGL_J1225.0+0330_daily_bin1777.fits outfile=/scratch/kocevski/914530/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1777.fits ra=186.252 dec=3.5098 rad=12.0 tmin=699926401.0 tmax=700185601.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.62
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 635

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914530/ft1_filtered_4FGL_J1225.0+0330_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/914530/ltcube_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.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/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits
.....................!
real 11.91
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914530/ft1_filtered_4FGL_J1225.0+0330_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/914530/ltcube_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.fits outfile=/scratch/kocevski/914530/expmap_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.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/914530/ltcube_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.fits
.....................!
real 190.72
user 184.95
sys 5.41

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/914530/ft1_filtered_4FGL_J1225.0+0330_daily_bin1777.fits scfile=/scratch/kocevski/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits outfile=/scratch/kocevski/914530/cmap_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914530/ft1_filtered_4FGL_J1225.0+0330_daily_bin1777.fits scfile=/scratch/kocevski/914530/ft2_4FGL_J1225.0+0330_daily_bin1777.fits outfile=/scratch/kocevski/914530/cmap_HighResolution_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7001.91770929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6213       1.0000          .0000       .10000E+07
     2 'Prefactor '    .53929E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10026E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20862E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8289       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41410E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    42.821       1.0000          .0000       .10000E+07
     8 'Prefactor '    .59204E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    42.027       1.0000          .0000       .10000E+07
    10 'Prefactor '    .26727E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.9799       1.0000          .0000       .10000E+07
    12 'norm      '    .94369E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .14531E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15871E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .21727E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.0114       1.0000          .0000       .10000E+07
    17 'Prefactor '    28.234       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.709       1.0000          .0000       .10000E+07
    19 'norm      '    .15674E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .35910E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .24858E-06   1.0000          .0000       .10000E+07
    22 'norm      '    11.494       1.0000          .0000       .10000E+07
    23 'Prefactor '    .10953E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.6930       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .68292       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=   7001.894     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     2233 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.946        134.99        .60891E-06   -.12344E-03
   2  Prefactor     .66613E-09    3.8685       -.50635E-07** at limit **
   3  Prefactor     .44409E-09    3.2426       -.22594E-06** at limit **
   4  Prefactor     .73830E-08    6.8003        .13348E-06** at limit **
   5  Prefactor     5.0241        12.412        .46157E-06    .17307E-01
   6  Prefactor     .74613E-06    23.833       -.10101E-05** at limit **
   7  Prefactor     42.926        1.3258        .48617E-07   -.57075E-02
   8  Prefactor     .33740E-06    13.836        .14885E-05** at limit **
   9  Prefactor     42.915        19.315        .12006E-05   -.11382    
  10  Prefactor     .16726E-06    75.808        .14445E-05** at limit **
  11  Prefactor     9.9589        10.452        .11345E-05    .98913E-01
  12  norm           .0000        1.5940        .61270E-07** at limit **
  13  norm          .11905E-05    12.522        .11797E-05** at limit **
  14  Prefactor     .33146E-06    15.698        .10466E-05** at limit **
  15  norm          .22898E-06    15.593       -.14381E-05** at limit **
  16  norm          1.0201        .57461        .35073E-07   -.39348E-02
  17  Prefactor     28.370        2.9562       -.16032E-06   -.78818E-01
  18  Prefactor     11.778        9.4332        .14528E-06   -.36677E-02
  19  norm          .24869E-07    12.819        .40773E-05** at limit **
  20  Prefactor     .13212E-07    9.2731       -.55007E-06** at limit **
  21  Prefactor     .36249E-07    7.9415       -.67405E-06** at limit **
  22  norm          11.508        2.7223        .23237E-06    .12712E-01
  23  Prefactor     .10547E-08    3.8482       -.25533E-06** at limit **
  24  Normalizat    1.6780        .25542       -.12311E-05   -.24059E-04
  25  Prefactor     .68757        .19212        .38305E-05    .61983E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9456
  Prefactor  = 6.66134e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 7.38298e-09
  Prefactor  = 5.02414
  Prefactor  = 7.46125e-07
  Prefactor  = 42.9261
  Prefactor  = 3.37397e-07
  Prefactor  = 42.9151
  Prefactor  = 1.67255e-07
  Prefactor  = 9.95891
  norm       = 0
  norm       = 1.19049e-06
  Prefactor  = 3.31457e-07
  norm       = 2.28983e-07
  norm       = 1.02012
  Prefactor  = 28.3703
  Prefactor  = 11.7783
  norm       = 2.4869e-08
  Prefactor  = 1.32117e-08
  Prefactor  = 3.62488e-08
  norm       = 11.5083
  Prefactor  = 1.05471e-09
  Normalizat = 1.67801
  Prefactor  = 0.687574
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.894     FROM HESSE     STATUS=OK           475 CALLS     2708 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.946        133.83        .34115E-03   -1.5586    
   2  Prefactor     .66613E-09    3.8239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    3.2198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73830E-08    6.8059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.0241        12.697        .45755E-03   -1.5663    
   6  Prefactor     .74613E-06    27.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.926        39.515        .15283E-03   -1.5577    
   8  Prefactor     .33740E-06    15.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.915        32.105        .15427E-03   -1.5577    
  10  Prefactor     .16726E-06    75.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9589        16.150        .31695E-03   -1.5645    
  12  norm           .0000        1.5858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11905E-05    14.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33146E-06    24.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22898E-06    20.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0201        .58581        .44167E-03   -1.5688    
  17  Prefactor     28.370        12.492        .18823E-03   -1.5601    
  18  Prefactor     11.778        9.4621        .29252E-03   -1.5639    
  19  norm          .24869E-07    .88393        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13212E-07    9.2888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .36249E-07    8.1652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.508        15.232        .29524E-03   -1.5640    
  23  Prefactor     .10547E-08    3.8420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6780        .21642        .58500E-01   -.72892    
  25  Prefactor     .68757        .16350        .68086E-01   -1.0402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.52572e-07
Minuit parameter uncertainties:
  1  133.841
  2  0.000102569
  3  7.38961e-05
  4  0.000448905
  5  12.6974
  6  0.00898273
  7  39.5149
  8  0.00452
  9  32.1054
  10  0.00711001
  11  16.1498
  12  7.79993e-06
  13  0.00839372
  14  0.00564128
  15  0.00431847
  16  0.585807
  17  12.4917
  18  9.46215
  19  0.000296435
  20  0.000699918
  21  0.00108849
  22  15.2316
  23  0.000126207
  24  0.216542
  25  0.163616
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  2.290e-07  4.318e-03  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:  6.876e-01  1.636e-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.678e+00  2.165e-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: 5.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914530/likelihoodResults_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.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) = 7001.91737155
delta logL = -0.0235119033759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7001.89385983
delta logL = -1.77698893822e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69089E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .43798       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68751       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7001.699     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      292 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82852        1.5092         .0000        .34372    
   2  alpha         5.0000        3.3061         .0000    ** at limit **
   3  Normalizat    1.6289        .21269         .0000       -.24860E-04
   4  Prefactor     .71109        .16319         .0000       -.48876E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.828523
  alpha      = 5
  Normalizat = 1.62893
  Prefactor  = 0.711093
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.699     FROM HESSE     STATUS=OK            27 CALLS      319 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82852        1.4063        .59240E-04   -1.5690    
   2  alpha         5.0000        3.1852        .89450E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.6289        .25280        .26156E-03   -.74217    
   4  Prefactor     .71109        .19379        .29666E-03   -1.0309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43436e-09
Minuit parameter uncertainties:
  1  1.40626
  2  8.51343e-05
  3  0.253001
  4  0.193977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914530': 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) = 7001.69885171
delta logL = 0.195007943551

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  8.285e-01  1.406e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  5.000e+00  8.513e-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:  7.111e-01  1.940e-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.629e+00  2.530e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/914530/cmap_HighResolution_699926401_700185601_4FGL_J1225.0+0330_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2023-03-11 00:55:35.523275', job_id='914530', GAL2='0.71', fit_tolerance='1e-08', EG2='1.63', EG='1.68', time_epoch_completed='1678524935.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.95e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1777' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:55:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 914530: <4FGL_J1225.0+0330_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1777> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Mar 11 00:40:16 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:40:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:40:17 2023
Terminated at Sat Mar 11 00:55:36 2023
Results reported at Sat Mar 11 00:55:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1777 186.252 3.5098 699926401 700185601 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 :                                   722.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

