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 60 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_J1322.0+8317_daily_bin1778
RA = 200.501, Dec = 83.2845
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='963449', job_status='RUN', time_executed='2023-03-14 01:01:36.877893', time_epoch_executed='1678780896.88' WHERE source_name='4FGL J1322.0+8317' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963449

Creating custom pfile directory:
/scratch/kocevski/963449/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/963449/ft1_4FGL_J1322.0+8317_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/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963449/ft1_4FGL_J1322.0+8317_daily_bin1778.fits outfile=/scratch/kocevski/963449/ft1_filteredMKT_4FGL_J1322.0+8317_daily_bin1778.fits ra=200.501 dec=83.2845 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.94
user 3.70
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_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/963449/ft1_filteredMKT_4FGL_J1322.0+8317_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_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.15

Number of photons that the gtmktime cut: 902

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/963449/ltcube_700185601_700444801_4FGL_J1322.0+8317_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/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits
.....................!
real 11.83
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/963449/ltcube_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits outfile=/scratch/kocevski/963449/expmap_700185601_700444801_4FGL_J1322.0+8317_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/963449/ltcube_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits
.....................!
real 190.13
user 185.77
sys 4.01

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

Setting source of interest to:
4FGL J1322.0+8317 @ 200.501 83.2845

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits outfile=/scratch/kocevski/963449/cmap_700185601_700444801_4FGL_J1322.0+8317_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=200.501 yref=83.2845 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits outfile=/scratch/kocevski/963449/cmap_HighResolution_700185601_700444801_4FGL_J1322.0+8317_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=200.501 yref=83.2845 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/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963449/Model_4FGL_J1322.0+8317_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/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits.....................!
real 119.04
user 117.65
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits', '/scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits', expMap='/scratch/kocevski/963449/expmap_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits', expCube='/scratch/kocevski/963449/ltcube_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963449/Model_4FGL_J1322.0+8317_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1322.0+8317'

4FGL J1322.0+8317
   Spectrum: PowerLaw
367    Prefactor:  2.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
369        Scale:  1.133e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/963449/ft1_filtered_4FGL_J1322.0+8317_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/963449/ft2_4FGL_J1322.0+8317_daily_bin1778.fits
Exposure map: /scratch/kocevski/963449/expmap_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits
Exposure cube: /scratch/kocevski/963449/ltcube_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963449/Model_4FGL_J1322.0+8317_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) = 9659.09031563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4087       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.7688       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40531       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53696E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30179E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .67724E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31154E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.179       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46090       1.0000          .0000       .10000E+07
    10 'norm      '    .53524       1.0000          .0000       .10000E+07
    11 'Prefactor '    27.812       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24326E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    38.067       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.977       1.0000          .0000       .10000E+07
    15 'Prefactor '    .67710E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    30.903       1.0000          .0000       .10000E+07
    17 'norm      '    28.892       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.8255       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20754E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    27.617       1.0000          .0000       .10000E+07
    21 'norm      '    .27625       1.0000          .0000       .10000E+07
    22 'Normalizat'    .94714       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96359       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9659.086     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1877 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4031        10.888        .13074E-06   -.67869E-01
   2  Prefactor     9.8133        6.5476        .13590E-07   -.43610E-03
   3  Prefactor     .39136        21.838       -.55269E-06   -.41818E-01
   4  Prefactor     .55511E-10    2.6291        .87497E-07** at limit **
   5  Prefactor      .0000        11.500        .37158E-06** at limit **
   6  norm           .0000        .93208       -.26222E-08** at limit **
   7  Prefactor      .0000        2.6475        .28600E-07** at limit **
   8  Prefactor     11.456        10.174       -.16313E-06   -.11135E-02
   9  Prefactor     .12629E-05    84.548       -.61056E-06** at limit **
  10  norm          .50334        3.4587        .35235E-06    .22841E-02
  11  Prefactor     27.227        33.450        .73391E-07   -.37088E-01
  12  Prefactor     .55511E-10    7.6021        .12214E-06** at limit **
  13  Prefactor     38.085        2.8326        .15088E-07    .58494E-01
  14  Prefactor     20.954        63.757        .65911E-06   -.11977E-01
  15  Prefactor     .13706E-06    18.296        .67556E-06** at limit **
  16  Prefactor     30.808        7.6044        .40411E-07    .37750E-01
  17  norm          28.879        1.0616        .41654E-08    .25905E-02
  18  Prefactor     1.8263        1.8041        .90599E-08    .89479E-03
  19  Prefactor     .18430E-07    8.9689        .12560E-06** at limit **
  20  Prefactor     27.318        21.609        .90298E-07    .22363E-01
  21  norm          .27621        .41637        .35307E-07    .71674E-02
  22  Normalizat    .94638        .15694        .39695E-06    .18105E-03
  23  Prefactor     .96371        .99389E-01    .58064E-06    .33995E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40313
  Prefactor  = 9.81333
  Prefactor  = 0.39136
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 11.4557
  Prefactor  = 1.26288e-06
  norm       = 0.503336
  Prefactor  = 27.2274
  Prefactor  = 5.55112e-11
  Prefactor  = 38.0847
  Prefactor  = 20.954
  Prefactor  = 1.37057e-07
  Prefactor  = 30.8083
  norm       = 28.8793
  Prefactor  = 1.82627
  Prefactor  = 1.84297e-08
  Prefactor  = 27.3185
  norm       = 0.276209
  Normalizat = 0.946378
  Prefactor  = 0.963709
 **********
 **   18 **HESSE 
 **********

 FCN=   9659.086     FROM HESSE     STATUS=OK           424 CALLS     2301 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4031        13.132        .54769E-03   -1.5671    
   2  Prefactor     9.8133        6.5507        .32037E-03   -1.5645    
   3  Prefactor     .39136        7.5359        .88875E-02   -1.5695    
   4  Prefactor     .55511E-10    2.6287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        11.511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .93137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.6455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.456        10.584        .29940E-03   -1.5640    
   9  Prefactor     .12629E-05    86.065        .82745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .50334        3.7249        .75241E-03   -1.5694    
  11  Prefactor     27.227        41.283        .18965E-03   -1.5604    
  12  Prefactor     .55511E-10    7.5806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.085        18.977        .16209E-03   -1.5585    
  14  Prefactor     20.954        65.022        .22381E-03   -1.5616    
  15  Prefactor     .13706E-06    18.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.808        35.338        .17991E-03   -1.5597    
  17  norm          28.879        16.299        .18607E-03   -1.5600    
  18  Prefactor     1.8263        1.8194        .77234E-03   -1.5681    
  19  Prefactor     .18430E-07    8.9935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.318        38.602        .19032E-03   -1.5603    
  21  norm          .27621        .47676        .18496E-02   -1.5697    
  22  Normalizat    .94638        .14265        .65292E-01   -.94849    
  23  Prefactor     .96371        .88964E-01    .45810E-01   -.93949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52903e-07
Minuit parameter uncertainties:
  1  13.1322
  2  6.55071
  3  3.43469
  4  1.86174e-05
  5  2.9017e-05
  6  1.27481e-07
  7  7.94337e-06
  8  10.5842
  9  0.0208514
  10  2.73853
  11  41.2831
  12  3.0132e-05
  13  18.9771
  14  65.0241
  15  0.00318419
  16  35.3386
  17  16.2993
  18  1.81937
  19  0.000813827
  20  38.6027
  21  0.47676
  22  0.142711
  23  0.0889774
Done.

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

Extracting fit parameters...

4FGL J1322.0+8317
   Spectrum: PowerLaw
367    Prefactor:  5.551e-11  3.013e-05  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
369        Scale:  1.133e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.637e-01  8.898e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.464e-01  1.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 200.501 83.284
Photon Flux Upper Limit: 4.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963449/likelihoodResults_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.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) = 9659.15347405
delta logL = -0.0670962294971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9659.08639632
delta logL = -1.85030494322e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32041E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.8391       1.0000          .0000       10.000    
     3 'Normalizat'    .94696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9659.086     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      247 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16460E-05    676.66       -.78426E-04** at limit **
   2  Index         1.5992        2.0233        .85535E-04   -.16654E-07
   3  Normalizat    .94638        .15210        .24409E-04    .30817E-03
   4  Prefactor     .96371        .97960E-01   -.13294E-04    .28998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.64596e-06
  Index      = 1.59923
  Normalizat = 0.946379
  Prefactor  = 0.963708
 **********
 **   18 **HESSE 
 **********

 FCN=   9659.086     FROM HESSE     STATUS=NOT POSDEF    45 CALLS      292 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16460E-05    .23380        .94884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5992        8.3366        .50000       -.74797    
   3  Normalizat    .94638        .61204E-03    .65292E-01   -.94849    
   4  Prefactor     .96371        .39190E-03    .45805E-01   -.93949    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.43949e-12
Minuit parameter uncertainties:
  1  0.00124068
  2  132.823
  3  0.000612039
  4  0.000391903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963449': 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) = 9659.08637782
delta logL = -1.21144694276e-09

Extracting fit parameters...

4FGL J1322.0+8317
   Spectrum: PowerLaw
367    Prefactor:  1.646e-06  1.241e-03  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  1.599e+00  1.328e+02  0.000e+00  1.000e+01 (-1.000e+00)
369        Scale:  1.133e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.637e-01  3.919e-04  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  9.464e-01  6.120e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.501 83.284

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/963449/cmap_HighResolution_700185601_700444801_4FGL_J1322.0+8317_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2023-03-14 01:16:08.148426', job_id='963449', GAL2='0.96', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1678781768.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-1.21e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1778' AND source_name='4FGL J1322.0+8317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:16:08 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 963449: <4FGL_J1322.0+8317_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1322.0+8317_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 01:00:27 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:00: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 01:00:28 2023
Terminated at Tue Mar 14 01:16:08 2023
Results reported at Tue Mar 14 01:16:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.0+8317_daily_bin1778 200.501 83.2845 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1322.0+8317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   873.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            941 sec.

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

