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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1778
RA = 186.252, Dec = 3.5098
tmin = 700185601, tmax = 700444801
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='961022', job_status='RUN', time_executed='2023-03-14 00:53:36.868722', time_epoch_executed='1678780416.87' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/961022

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/961022/ft1_4FGL_J1225.0+0330_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/961022/ft2_4FGL_J1225.0+0330_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/961022/ft1_4FGL_J1225.0+0330_daily_bin1778.fits outfile=/scratch/kocevski/961022/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1778.fits ra=186.252 dec=3.5098 rad=12.0 tmin=700185601.0 tmax=700444801.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.93
user 3.71
sys 0.20

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

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

Number of photons that the gtmktime cut: 561

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/961022/ft1_filtered_4FGL_J1225.0+0330_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/961022/ft2_4FGL_J1225.0+0330_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/961022/ltcube_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.fits outfile=/scratch/kocevski/961022/expmap_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.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/961022/ltcube_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.fits
.....................!
real 189.39
user 185.03
sys 3.99

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/961022/ft1_filtered_4FGL_J1225.0+0330_daily_bin1778.fits scfile=/scratch/kocevski/961022/ft2_4FGL_J1225.0+0330_daily_bin1778.fits outfile=/scratch/kocevski/961022/cmap_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.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/961022/ft1_filtered_4FGL_J1225.0+0330_daily_bin1778.fits scfile=/scratch/kocevski/961022/ft2_4FGL_J1225.0+0330_daily_bin1778.fits outfile=/scratch/kocevski/961022/cmap_HighResolution_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11710E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .24447E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .69708E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.032       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10723E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .68536E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59872E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    62.761       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16893E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41576E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75254       1.0000          .0000       .10000E+07
    12 'norm      '    .11230E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.2194       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.6302       1.0000          .0000       .10000E+07
    15 'norm      '    100.16       1.0000          .0000       .10000E+07
    16 'norm      '    .39464E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.873       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2145       1.0000          .0000       .10000E+07
    19 'norm      '    4.0609       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.4092       1.0000          .0000       .10000E+07
    21 'Prefactor '    .50165E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .23333E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .25259E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .89862       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92216       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=   6200.923     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2184 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12627E-04    27.425        .25791E-06** at limit **
   2  Prefactor     .55511E-10    2.8281       -.60098E-07** at limit **
   3  Prefactor     .49960E-09    4.2063       -.90389E-07** at limit **
   4  Prefactor     11.262        7.0774       -.10393E-06    .61682E-01
   5  Prefactor     .11102E-09    4.0886        .68030E-07** at limit **
   6  Prefactor     .17825E-04    26.984        .40495E-06** at limit **
   7  Prefactor      .0000        21.498       -.10611E-06** at limit **
   8  Prefactor     64.781        37.527        .82062E-07    .10749    
   9  Prefactor     .19751E-06    34.183        .13027E-05** at limit **
  10  Prefactor     .31641E-08    14.209        .24580E-06** at limit **
  11  Prefactor     .76120        7.6469        .21526E-06   -.77713E-02
  12  norm           .0000        .57701        .10811E-06** at limit **
  13  norm          2.2193        3.3384       -.15663E-06   -.46560E-02
  14  Prefactor     9.6695        1.1423        .91255E-08   -.61890E-02
  15  norm          99.343        27.668       -.68978E-07    .26949    
  16  norm          .42489E-01    1.4006       -.69557E-07** at limit **
  17  Prefactor     15.906        9.7298       -.89000E-07   -.16325    
  18  Prefactor     1.1981        5.6328        .13976E-06    .32425E-03
  19  norm          4.0659        1.8082       -.53181E-07   -.72682E-02
  20  Prefactor     3.3972        4.1951        .15756E-06    .19742E-02
  21  Prefactor      .0000        6.6919       -.24910E-06** at limit **
  22  norm          .39968E-08    5.7785       -.11772E-06** at limit **
  23  Prefactor     .39413E-08    5.5729       -.31821E-08** at limit **
  24  Normalizat    .89565        .22842       -.25789E-06   -.11923E-03
  25  Prefactor     .92341        .18048       -.57679E-06   -.12511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.26273e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 4.996e-10
  Prefactor  = 11.2619
  Prefactor  = 1.11022e-10
  Prefactor  = 1.78247e-05
  Prefactor  = 0
  Prefactor  = 64.7805
  Prefactor  = 1.97509e-07
  Prefactor  = 3.16414e-09
  Prefactor  = 0.761197
  norm       = 0
  norm       = 2.21935
  Prefactor  = 9.66951
  norm       = 99.3428
  norm       = 0.0424893
  Prefactor  = 15.9064
  Prefactor  = 1.19807
  norm       = 4.06587
  Prefactor  = 3.39717
  Prefactor  = 0
  norm       = 3.9968e-09
  Prefactor  = 3.94129e-09
  Normalizat = 0.895645
  Prefactor  = 0.923414
 **********
 **   18 **HESSE 
 **********

 FCN=   6200.923     FROM HESSE     STATUS=OK           471 CALLS     2655 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12627E-04    53.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    2.8253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    4.1968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.262        19.988        .30139E-03   -1.5641    
   5  Prefactor     .11102E-09    4.0875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17825E-04    48.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        21.468        .15167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     64.781        44.460        .12624E-03   -1.5547    
   9  Prefactor     .19751E-06    34.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31641E-08    14.197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .76120        7.7157        .56542E-03   -1.5691    
  12  norm           .0000        .57821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2193        3.6544        .69000E-03   -1.5678    
  14  Prefactor     9.6695        20.752        .32268E-03   -1.5646    
  15  norm          99.343        55.582        .99924E-04   -1.5509    
  16  norm          .42489E-01    .48656        .15988E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.906        11.211        .25112E-03   -1.5628    
  18  Prefactor     1.1981        5.7650        .10250E-02   -1.5686    
  19  norm          4.0659        1.8227        .50010E-03   -1.5668    
  20  Prefactor     3.3972        4.2063        .54765E-03   -1.5671    
  21  Prefactor      .0000        6.6954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .39968E-08    9.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .39413E-08    10.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .89565        .19900        .44884E-01   -.96613    
  25  Prefactor     .92341        .15466        .45287E-01   -.95328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31689e-06
Minuit parameter uncertainties:
  1  0.0519908
  2  1.80617e-05
  3  9.13492e-05
  4  19.9883
  5  4.08676e-05
  6  0.0587545
  7  3.99e-05
  8  44.4598
  9  0.00520312
  10  0.000425653
  11  4.84694
  12  6.19921e-06
  13  3.6544
  14  20.7519
  15  55.582
  16  0.287566
  17  11.2112
  18  5.25619
  19  1.82269
  20  4.20631
  21  2.07474e-05
  22  0.000399691
  23  0.000398783
  24  0.199163
  25  0.154731
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  9.934e+01  5.558e+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:  9.234e-01  1.547e-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:  8.956e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.97
Ra Dec: 186.252 3.510
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 6.87e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 2.87e-05 +/- 1.60e-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) = 6200.84470176
delta logL = 0.0778392388647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6200.84087916
delta logL = 0.0816618460804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    87.372       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6660       1.0000          .0000       5.0000    
     3 'Normalizat'    .87575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93316       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6200.841     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          87.363        55.937        .42796E-05    .54055E-02
   2  alpha         2.6658        .67215        .11548E-01    .12152E-03
   3  Normalizat    .87566        .22072        .27742E-03   -.50033E-03
   4  Prefactor     .93327        .17973        .22289E-03   -.66938E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 87.3628
  alpha      = 2.66579
  Normalizat = 0.87566
  Prefactor  = 0.93327
 **********
 **   18 **HESSE 
 **********

 FCN=   6200.841     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          87.363        53.539        .85591E-06   -1.5521    
   2  alpha         2.6658        .64312        .46190E-03    .66365E-01
   3  Normalizat    .87566        .22021        .55483E-04   -.97321    
   4  Prefactor     .93327        .17957        .44577E-04   -.94988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2442e-09
Minuit parameter uncertainties:
  1  53.5395
  2  0.650471
  3  0.220436
  4  0.179685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/961022': 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) = 6200.84087876
delta logL = 0.0816622431767

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  8.736e+01  5.354e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.666e+00  6.505e-01  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:  9.333e-01  1.797e-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:  8.757e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.21
Ra Dec: 186.252 3.510
Photon Index (Free Index): 2.67 +/- 0.65
Photon Flux (Free Index): 8.53e-08 +/- 5.65e-08
Energy Flux (Free Index): 2.90e-05 +/- 1.34e-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/961022/cmap_HighResolution_700185601_700444801_4FGL_J1225.0+0330_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.87e-08', energy_flux2='2.90e-05', photon_flux_error='3.84e-08', dlogl='8.17e-02', energy_flux='2.87e-05', photon_flux2='8.53e-08', job_status='DONE', time_completed='2023-03-14 01:03:24.178040', photon_index_error2='0.65', photon_index2='2.67', ts='10.97', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='0.90', time_epoch_completed='1678781004.18', return_code='0', job_id='961022', GAL2='0.93', EG2='0.88', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='5.65e-08', ts2='11.21', photon_index='2.40' WHERE bin_id='1778' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:03:24 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 961022: <4FGL_J1225.0+0330_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:50:27 2023
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:50:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:50:28 2023
Terminated at Tue Mar 14 01:03:24 2023
Results reported at Tue Mar 14 01:03:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1778 186.252 3.5098 700185601 700444801 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 :                                   589.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            777 sec.

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

