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


Performing analysis on: 4FGL_J1322.0+8317_daily_bin1762
RA = 200.501, Dec = 83.2845
tmin = 696038401, tmax = 696297601
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='110535', job_status='RUN', time_executed='2023-01-25 01:01:31.423713', time_epoch_executed='1674637291.42' WHERE source_name='4FGL J1322.0+8317' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110535

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110535/ft1_4FGL_J1322.0+8317_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110535/ft1_4FGL_J1322.0+8317_daily_bin1762.fits outfile=/scratch/kocevski/110535/ft1_filteredMKT_4FGL_J1322.0+8317_daily_bin1762.fits ra=200.501 dec=83.2845 rad=12.0 tmin=696038401.0 tmax=696297601.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.83
user 3.50
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.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/110535/ft1_filteredMKT_4FGL_J1322.0+8317_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 967

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110535/ltcube_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.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/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits
.....................!
real 15.78
user 15.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110535/ltcube_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits outfile=/scratch/kocevski/110535/expmap_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.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/110535/ltcube_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits
.....................!
real 194.86
user 187.50
sys 4.84

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/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits outfile=/scratch/kocevski/110535/cmap_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits outfile=/scratch/kocevski/110535/cmap_HighResolution_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.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.59
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110535/Model_4FGL_J1322.0+8317_daily_bin1762.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/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits.....................!
real 132.84
user 129.43
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits', '/scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits', expMap='/scratch/kocevski/110535/expmap_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits', expCube='/scratch/kocevski/110535/ltcube_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110535/Model_4FGL_J1322.0+8317_daily_bin1762.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/110535/ft1_filtered_4FGL_J1322.0+8317_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/110535/ft2_4FGL_J1322.0+8317_daily_bin1762.fits
Exposure map: /scratch/kocevski/110535/expmap_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits
Exposure cube: /scratch/kocevski/110535/ltcube_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110535/Model_4FGL_J1322.0+8317_daily_bin1762.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) = 10170.8206767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25281E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.059       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44096E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12731E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11917E-05   1.0000          .0000       .10000E+07
     6 'norm      '    13.261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72503E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.727       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.285       1.0000          .0000       .10000E+07
    10 'norm      '    .68310       1.0000          .0000       .10000E+07
    11 'Prefactor '    .87472E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20989E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .73913E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26992       1.0000          .0000       .10000E+07
    15 'Prefactor '    34.737       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7844       1.0000          .0000       .10000E+07
    17 'norm      '    .17288E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38902E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56765E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18250E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .85545       1.0000          .0000       .10000E+07
    22 'Normalizat'    .78964       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1272       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=   10170.77     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1466 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.392       -.28560E-05** at limit **
   2  Prefactor     12.074        9.0342        .82237E-06    .99930E-02
   3  Prefactor      .0000        2.8623       -.42118E-06** at limit **
   4  Prefactor     .50349E-07    1.8005        .42458E-06** at limit **
   5  Prefactor     .26368E-07    1.8956        .30040E-06** at limit **
   6  norm          13.266        4.9702       -.90058E-07   -.38161E-02
   7  Prefactor     .29032E-07    8.8174       -.96128E-06** at limit **
   8  Prefactor     11.722        8.1540       -.70859E-06   -.80544E-02
   9  Prefactor     17.869        3.8659        .22609E-06    .26441E-01
  10  norm          .68303        1.4122       -.16234E-07   -.19212E-02
  11  Prefactor     .53291E-08    12.206        .40719E-05** at limit **
  12  Prefactor     .15543E-08    5.0103       -.16628E-06** at limit **
  13  Prefactor     .13145E-06    2.3515       -.86079E-06** at limit **
  14  Prefactor     .24417E-05    8.0149       -.47616E-05** at limit **
  15  Prefactor     35.104        24.380        .34954E-05    .78742E-01
  16  Prefactor     1.6108        180.97       -.26334E-04    .14716E-01
  17  norm          .83267E-09    6.1307        .85139E-06** at limit **
  18  Prefactor      .0000        2.2327       -.11028E-06** at limit **
  19  Prefactor     .12768E-08    27.069        .40969E-06** at limit **
  20  Prefactor     .55511E-10    22.866       -.48976E-06** at limit **
  21  norm          .85516        .62313        .45411E-07    .16436E-02
  22  Normalizat    .78974        .15676        .43345E-06   -.20041E-04
  23  Prefactor     1.1272        .10143       -.26840E-05   -.11079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 12.0736
  Prefactor  = 0
  Prefactor  = 5.03486e-08
  Prefactor  = 2.63678e-08
  norm       = 13.2662
  Prefactor  = 2.90323e-08
  Prefactor  = 11.7217
  Prefactor  = 17.8687
  norm       = 0.683027
  Prefactor  = 5.32907e-09
  Prefactor  = 1.55431e-09
  Prefactor  = 1.3145e-07
  Prefactor  = 2.44171e-06
  Prefactor  = 35.1041
  Prefactor  = 1.61075
  norm       = 8.32667e-10
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  Prefactor  = 5.55112e-11
  norm       = 0.855156
  Normalizat = 0.789741
  Prefactor  = 1.12718
 **********
 **   18 **HESSE 
 **********

 FCN=   10170.77     FROM HESSE     STATUS=OK           410 CALLS     1876 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.074        9.0598        .28822E-03   -1.5638    
   3  Prefactor      .0000        2.8610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50349E-07    5.6607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .26368E-07    5.6066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.266        4.9761        .27481E-03   -1.5635    
   7  Prefactor     .29032E-07    9.4030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.722        8.1957        .29228E-03   -1.5639    
   9  Prefactor     17.869        23.018        .23394E-03   -1.5623    
  10  norm          .68303        1.4395        .62091E-03   -1.5691    
  11  Prefactor     .53291E-08    12.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15543E-08    5.0246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13145E-06    5.5091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24417E-05    54.119        .10644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.104        32.674        .16969E-03   -1.5589    
  16  Prefactor     1.6108        356.65        .78299E-03   -1.5683    
  17  norm          .83267E-09    6.3156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.1901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12768E-08    27.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    22.740        .17155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .85516        .62759        .48890E-03   -1.5689    
  22  Normalizat    .78974        .14451        .72036E-01   -1.0045    
  23  Prefactor     1.1272        .91638E-01    .36634E-01   -.88603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54774e-07
Minuit parameter uncertainties:
  1  1.53444e-05
  2  9.0598
  3  1.57294e-05
  4  0.00106763
  5  0.000768674
  6  4.97609
  7  0.00104475
  8  8.1957
  9  23.0184
  10  1.43955
  11  0.00052592
  12  0.000176218
  13  0.00170196
  14  0.0229909
  15  32.6745
  16  47.9394
  17  0.000145213
  18  1.21079e-05
  19  0.000370751
  20  7.84232e-05
  21  0.627587
  22  0.144584
  23  0.0916507
Done.

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

Extracting fit parameters...

4FGL J1322.0+8317
   Spectrum: PowerLaw
367    Prefactor:  1.554e-09  1.762e-04  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:  1.127e+00  9.165e-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:  7.897e-01  1.446e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110535/likelihoodResults_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.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) = 10170.8703986
delta logL = -0.0974789501379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10170.7210477
delta logL = 0.0518719552529

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10170.72     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      267 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1646        7.6784        .13966E-03   -.17991E-02
   2  Index         1.3555        1.0538        .18801E-01    .12305E-03
   3  Normalizat    .79170        .15259        .31843E-03   -.44056E-03
   4  Prefactor     1.1249        .10039        .17726E-03   -.77707E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.1646
  Index      = 1.35554
  Normalizat = 0.791697
  Prefactor  = 1.12494
 **********
 **   18 **HESSE 
 **********

 FCN=   10170.72     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1646        7.8690        .55865E-05   -1.5679    
   2  Index         1.3555        1.0804        .75206E-03   -.81670    
   3  Normalizat    .79170        .15265        .12737E-04   -1.0038    
   4  Prefactor     1.1249        .10044        .35452E-04   -.88673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82613e-09
Minuit parameter uncertainties:
  1  7.869
  2  1.09919
  3  0.152737
  4  0.100457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110535': 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) = 10170.7210435
delta logL = 0.0518760997275

Extracting fit parameters...

4FGL J1322.0+8317
   Spectrum: PowerLaw
367    Prefactor:  2.165e+00  7.869e+00  0.000e+00  1.000e+06 ( 1.000e-13)
368        Index:  1.356e+00  1.099e+00  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:  1.125e+00  1.005e-01  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:  7.917e-01  1.527e-01  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/110535/cmap_HighResolution_696038401_696297601_4FGL_J1322.0+8317_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.45e-08', time_completed='2023-01-25 01:16:12.557666', job_id='110535', GAL2='1.12', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1674638172.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='5.19e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1762' AND source_name='4FGL J1322.0+8317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:16:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 110535: <4FGL_J1322.0+8317_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1322.0+8317_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:25 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:34 2023
Terminated at Wed Jan 25 01:16:13 2023
Results reported at Wed Jan 25 01:16:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.0+8317_daily_bin1762 200.501 83.2845 696038401 696297601 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 :                                   874.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            948 sec.

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

