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


Performing analysis on: 4FGL_J1257.2+3646_daily_bin1779
RA = 194.31, Dec = 36.7706
tmin = 700444801, tmax = 700704001
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='26364', job_status='RUN', time_executed='2023-03-17 01:40:28.246633', time_epoch_executed='1679042428.25' WHERE source_name='4FGL J1257.2+3646' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26364/ft1_4FGL_J1257.2+3646_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26364/ft1_4FGL_J1257.2+3646_daily_bin1779.fits outfile=/scratch/kocevski/26364/ft1_filteredMKT_4FGL_J1257.2+3646_daily_bin1779.fits ra=194.31 dec=36.7706 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.39
user 5.12
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.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/26364/ft1_filteredMKT_4FGL_J1257.2+3646_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 399

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/26364/ltcube_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.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/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits
.....................!
real 12.03
user 11.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/26364/ltcube_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits outfile=/scratch/kocevski/26364/expmap_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.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/26364/ltcube_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits
.....................!
real 190.96
user 186.10
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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1257.2+3646 @ 194.31 36.7706

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits outfile=/scratch/kocevski/26364/cmap_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.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=194.31 yref=36.7706 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.58
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits outfile=/scratch/kocevski/26364/cmap_HighResolution_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.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=194.31 yref=36.7706 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/26364/Model_4FGL_J1257.2+3646_daily_bin1779.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/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits.....................!
real 43.28
user 41.98
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits', '/scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits', expMap='/scratch/kocevski/26364/expmap_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits', expCube='/scratch/kocevski/26364/ltcube_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/26364/Model_4FGL_J1257.2+3646_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1257.2+3646'

4FGL J1257.2+3646
   Spectrum: PowerLaw
300    Prefactor:  1.472e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.027e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.897e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/26364/ft1_filtered_4FGL_J1257.2+3646_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/26364/ft2_4FGL_J1257.2+3646_daily_bin1779.fits
Exposure map: /scratch/kocevski/26364/expmap_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits
Exposure cube: /scratch/kocevski/26364/ltcube_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/26364/Model_4FGL_J1257.2+3646_daily_bin1779.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) = 4708.96833298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3216       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.119       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51090E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3620       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14927E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10295E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.329       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29922E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .43731E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    33.310       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.610       1.0000          .0000       .10000E+07
    12 'norm      '    6.2090       1.0000          .0000       .10000E+07
    13 'norm      '    1.5838       1.0000          .0000       .10000E+07
    14 'norm      '    13.216       1.0000          .0000       .10000E+07
    15 'norm      '    .26637E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .64629E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19909E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39018E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.8063       1.0000          .0000       .10000E+07
    20 'Normalizat'    .90099       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4708.940     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1632 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3185        2.8900        .81557E-07    .30257E-02
   2  Prefactor     23.123        14.167       -.33589E-05    .24481E-02
   3  Prefactor     .16653E-09    1.0208       -.10576E-06** at limit **
   4  Prefactor     1.3607        1.9603       -.47983E-07    .53345E-02
   5  Prefactor     .55511E-09    7.8147       -.51481E-07** at limit **
   6  Prefactor     .41078E-08    14.493        .68820E-06** at limit **
   7  Prefactor     17.257        7.3036        .29483E-06   -.30809E-01
   8  Prefactor     .55511E-10    23.998       -.79296E-06** at limit **
   9  norm           .0000        3.7734       -.13544E-06** at limit **
  10  Prefactor     33.491        3.1881       -.42932E-06    .19696E-01
  11  Prefactor     14.636        15.895       -.76264E-06    .92122E-02
  12  norm          6.1414        5.9566        .85793E-07   -.17060E-02
  13  norm          1.6157        24.013        .64729E-05    .37587E-02
  14  norm          13.150        5.9189       -.11020E-06    .41564E-02
  15  norm          .17875E-07    51.744        .90783E-05** at limit **
  16  Prefactor     .49960E-09    1.1877       -.22383E-07** at limit **
  17  Prefactor     .55511E-10    16.087       -.25792E-06** at limit **
  18  Prefactor     .25535E-08    102.64        .77332E-07** at limit **
  19  Prefactor     3.8279        12.587        .94305E-06   -.11573E-02
  20  Normalizat    .90117        .22110        .13645E-04   -.96565E-04
  21  Prefactor     .90306        .26182       -.90501E-05    .73940E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.31855
  Prefactor  = 23.1229
  Prefactor  = 1.66533e-10
  Prefactor  = 1.36067
  Prefactor  = 5.55112e-10
  Prefactor  = 4.10783e-09
  Prefactor  = 17.2566
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 33.4909
  Prefactor  = 14.636
  norm       = 6.14136
  norm       = 1.61566
  norm       = 13.1502
  norm       = 1.78746e-08
  Prefactor  = 4.996e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 2.55351e-09
  Prefactor  = 3.82794
  Normalizat = 0.901174
  Prefactor  = 0.903065
 **********
 **   18 **HESSE 
 **********

 FCN=   4708.940     FROM HESSE     STATUS=OK           365 CALLS     1997 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3185        2.8900        .55516E-03   -1.5672    
   2  Prefactor     23.123        14.248        .20803E-03   -1.5612    
   3  Prefactor     .16653E-09    1.0219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3607        1.9960        .93520E-03   -1.5685    
   5  Prefactor     .55511E-09    7.5334        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41078E-08    14.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.257        17.927        .24033E-03   -1.5625    
   8  Prefactor     .55511E-10    23.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.7682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.491        37.525        .17329E-03   -1.5592    
  11  Prefactor     14.636        17.734        .26178E-03   -1.5631    
  12  norm          6.1414        6.0385        .40264E-03   -1.5658    
  13  norm          1.6157        24.140        .84337E-03   -1.5683    
  14  norm          13.150        6.3781        .27527E-03   -1.5635    
  15  norm          .17875E-07    51.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .49960E-09    1.1904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    15.603        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25535E-08    102.49        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8279        12.597        .51713E-03   -1.5669    
  20  Normalizat    .90117        .18731        .44914E-01   -.96419    
  21  Prefactor     .90306        .22138        .64751E-01   -.96034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95761e-08
Minuit parameter uncertainties:
  1  2.88996
  2  14.248
  3  2.44474e-05
  4  1.99599
  5  0.000130362
  6  0.000488525
  7  17.9269
  8  8.15509e-05
  9  5.65264e-06
  10  37.5256
  11  17.7343
  12  6.03853
  13  12.4904
  14  6.37809
  15  0.00191869
  16  4.85669e-05
  17  4.21824e-05
  18  0.00102236
  19  12.597
  20  0.187448
  21  0.221604
Done.

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

Extracting fit parameters...

4FGL J1257.2+3646
   Spectrum: PowerLaw
300    Prefactor:  5.551e-11  8.155e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.027e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.897e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  9.031e-01  2.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  9.012e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.310 36.771
Photon Flux Upper Limit: 7.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26364/likelihoodResults_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.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): 102
logL (Free Index) = 4708.96570981
delta logL = -0.0260768182952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4708.87623169
delta logL = 0.0634013022409

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7678       1.0000          .0000       .10000E+07
     2 'Index     '    1.2165       1.0000          .0000       10.000    
     3 'Normalizat'    .89947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90126       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4708.876     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      232 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7583        6.6275         .0000        .50800E-02
   2  Index         1.2137        1.3052         .0000       -.57916E-03
   3  Normalizat    .89959        .18329         .0000        .95228E-05
   4  Prefactor     .90140        .21954         .0000        .11090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7583
  Index      = 1.21369
  Normalizat = 0.899593
  Prefactor  = 0.901396
 **********
 **   18 **HESSE 
 **********

 FCN=   4708.876     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7583        6.2129        .28221E-04   -1.5681    
   2  Index         1.2137        1.2399        .68505E-02   -.85911    
   3  Normalizat    .89959        .21681        .24082E-03   -.96474    
   4  Prefactor     .90140        .25944        .28657E-03   -.96092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31329e-11
Minuit parameter uncertainties:
  1  6.21292
  2  1.27186
  3  0.217023
  4  0.259793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26364': 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) = 4708.87622698
delta logL = 0.0634060181401

Extracting fit parameters...

4FGL J1257.2+3646
   Spectrum: PowerLaw
300    Prefactor:  1.758e+00  6.213e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.214e+00  1.272e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.897e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  9.014e-01  2.598e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  8.996e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.310 36.771

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/26364/cmap_HighResolution_700444801_700704001_4FGL_J1257.2+3646_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2023-03-17 01:48:59.098382', job_id='26364', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1679042939.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='6.34e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1779' AND source_name='4FGL J1257.2+3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:48:59 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 26364: <4FGL_J1257.2+3646_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1257.2+3646_daily_bin1779> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar 17 01:40:14 2023
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:40:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:40:16 2023
Terminated at Fri Mar 17 01:48:59 2023
Results reported at Fri Mar 17 01:48:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1257.2+3646_daily_bin1779 194.31 36.7706 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1257.2+3646 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            525 sec.

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

