/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 5 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1322.6-0936_daily_bin169
RA = 200.664, Dec = -9.6075
tmin = 283132801, tmax = 283392001
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='518075', job_status='RUN', time_executed='2021-09-07 14:25:57.606728', time_epoch_executed='1631049957.61' WHERE source_name='4FGL J1322.6-0936' and cadence='daily' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518075

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518075/ft1_4FGL_J1322.6-0936_daily_bin169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518075/ft1_4FGL_J1322.6-0936_daily_bin169.fits outfile=/scratch/kocevski/518075/ft1_filteredMKT_4FGL_J1322.6-0936_daily_bin169.fits ra=200.664 dec=-9.6075 rad=12.0 tmin=283132801.0 tmax=283392001.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.15
user 2.90
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.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/518075/ft1_filteredMKT_4FGL_J1322.6-0936_daily_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.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.45
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/518075/ltcube_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.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/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits
.....................!
real 12.96
user 12.62
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/518075/ltcube_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits outfile=/scratch/kocevski/518075/expmap_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.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/518075/ltcube_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits
.....................!
real 157.58
user 152.98
sys 4.24

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

Setting source of interest to:
4FGL J1322.6-0936 @ 200.664 -9.6075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits outfile=/scratch/kocevski/518075/cmap_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.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.664 yref=-9.6075 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.50
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits outfile=/scratch/kocevski/518075/cmap_HighResolution_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.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.664 yref=-9.6075 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.49
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/518075/Model_4FGL_J1322.6-0936_daily_bin169.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/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits.....................!
real 58.68
user 57.42
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits', '/scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits', expMap='/scratch/kocevski/518075/expmap_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits', expCube='/scratch/kocevski/518075/ltcube_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/518075/Model_4FGL_J1322.6-0936_daily_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1322.6-0936'

4FGL J1322.6-0936
   Spectrum: PowerLaw
306    Prefactor:  4.924e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  5.620e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/518075/ft1_filtered_4FGL_J1322.6-0936_daily_bin169.fits
Spacecraft file(s): /scratch/kocevski/518075/ft2_4FGL_J1322.6-0936_daily_bin169.fits
Exposure map: /scratch/kocevski/518075/expmap_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits
Exposure cube: /scratch/kocevski/518075/ltcube_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/518075/Model_4FGL_J1322.6-0936_daily_bin169.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) = 9568.34386784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.790       1.0000         .10000E-03   10000.    
     3 'norm      '    7.5318       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7706       1.0000         .10000E-03   10000.    
     5 'norm      '    8.1225       1.0000         .10000E-03   10000.    
     6 'Prefactor '    59.513       1.0000         .10000E-03   10000.    
     7 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.8561       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.255       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.948       1.0000         .10000E-03   10000.    
    13 'norm      '    4.7234       1.0000         .10000E-03   10000.    
    14 'norm      '    .88385E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.1281       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    30.263       1.0000         .10000E-03   10000.    
    18 'norm      '    4.1915       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1546       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.9070       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2682       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90184       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9568.332     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2720 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9119        .25248E-07** at limit **
   2  Prefactor     21.794        25.870       -.31598E-06    .19787E-04
   3  norm          7.5334        20.756       -.31937E-07    .47260E-05
   4  norm          1.7705        .31550        .13292E-07   -.87871E-04
   5  norm          8.1226        6.7047        .48375E-06   -.31433E-04
   6  Prefactor     59.505        60.064        .99855E-06   -.15102E-04
   7  norm          .10000E-03    2.6792       -.30346E-07** at limit **
   8  norm          6.8556        10.529        .11039E-06   -.92275E-05
   9  Prefactor     .10000E-03    2.1959       -.19730E-07** at limit **
  10  Prefactor     28.261        19.118       -.12244E-06    .32887E-04
  11  Prefactor     1.5776        6.4188        .91791E-06    .29807E-04
  12  Prefactor     28.027        14.846        .70948E-06    .82941E-03
  13  norm          4.7239        1.5824        .22084E-07    .98700E-05
  14  norm          .10000E-03    1.4488       -.56026E-06** at limit **
  15  norm          5.1300        4.0069       -.29280E-07    .35693E-03
  16  Prefactor     .10000E-03    11.012        .15752E-06** at limit **
  17  norm          30.247        33.868        .16613E-05   -.63748E-04
  18  norm          4.1898        3.4156       -.58840E-07    .94456E-04
  19  Prefactor     4.1560        4.0248        .19281E-05   -.13556E-03
  20  Prefactor     .10000E-03    27.427        .19296E-06** at limit **
  21  norm          .10000E-03    1.5915        .34751E-07** at limit **
  22  norm          3.9075        2.5059        .34838E-07   -.33017E-05
  23  Normalizat    1.2678        .20559       -.13827E-05    .16482E-03
  24  Prefactor     .90208        .11351        .14239E-06    .21188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.794
  norm       = 7.53336
  norm       = 1.77055
  norm       = 8.12263
  Prefactor  = 59.5051
  norm       = 0.0001
  norm       = 6.85561
  Prefactor  = 0.0001
  Prefactor  = 28.2613
  Prefactor  = 1.5776
  Prefactor  = 28.0273
  norm       = 4.7239
  norm       = 0.0001
  norm       = 5.12998
  Prefactor  = 0.0001
  norm       = 30.2474
  norm       = 4.18981
  Prefactor  = 4.15596
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.90746
  Normalizat = 1.26779
  Prefactor  = 0.902077
 **********
 **   18 **HESSE 
 **********

 FCN=   9568.332     FROM HESSE     STATUS=OK           405 CALLS     3125 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.794        25.911        .85807E-04   -1.4774    
   3  norm          7.5334        20.749        .14613E-03   -1.5159    
   4  norm          1.7705        .31792        .21322E-04   -1.5442    
   5  norm          8.1226        6.6994        .70338E-03   -1.5138    
   6  Prefactor     59.505        60.148        .52008E-04   -1.4164    
   7  norm          .10000E-03    2.6817        .15635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8556        10.516        .15323E-03   -1.5184    
   9  Prefactor     .10000E-03    2.2013        .14155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.261        19.212        .75369E-04   -1.4644    
  11  Prefactor     1.5776        6.3800        .33851E-03   -1.5457    
  12  Prefactor     28.027        13.447        .75781E-04   -1.4649    
  13  norm          4.7239        1.5857        .67720E-04   -1.5273    
  14  norm          .10000E-03    8.6419        .19768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.1300        3.9952        .16333E-03   -1.5255    
  16  Prefactor     .10000E-03    11.436        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          30.247        33.692        .72832E-04   -1.4607    
  18  norm          4.1898        3.4160        .15712E-03   -1.5299    
  19  Prefactor     4.1560        3.9856        .90120E-03   -1.5300    
  20  Prefactor     .10000E-03    27.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.5988        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.9075        2.5049        .11954E-03   -1.5313    
  23  Normalizat    1.2678        .23988        .31980E-03   -.84533    
  24  Prefactor     .90208        .13304        .21970E-03   -.96069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54664e-10
Minuit parameter uncertainties:
  1  2.95394e-06
  2  25.9247
  3  20.7685
  4  0.317923
  5  6.70001
  6  60.2098
  7  2.82925e-06
  8  10.519
  9  1.56832e-06
  10  19.2164
  11  6.34607
  12  13.4485
  13  1.58571
  14  9.02606e-06
  15  3.99543
  16  2.92477e-05
  17  33.713
  18  3.41614
  19  3.98588
  20  2.72824e-05
  21  3.86003e-07
  22  2.50494
  23  0.240086
  24  0.13309
Done.

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

Extracting fit parameters...

4FGL J1322.6-0936
   Spectrum: PowerLaw
306    Prefactor:  1.578e+00  6.346e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  5.620e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.021e-01  1.331e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.268e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 200.664 -9.607
Photon Flux Upper Limit: 9.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/518075/likelihoodResults_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9568.29791001
delta logL = 0.0339688404947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9568.28605121
delta logL = 0.0458276427362

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6334       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2545       1.0000          .0000       10.000    
     3 'Normalizat'    1.2686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+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=   9568.286     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      291 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6287        7.1201        .25128E-03    .37100E-05
   2  Index         2.2532        1.0510        .18475E-01   -.13686E-05
   3  Normalizat    1.2685        .21878        .31971E-03    .42671E-06
   4  Prefactor     .90064        .12961        .21984E-03    .10342E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62865
  Index      = 2.2532
  Normalizat = 1.26853
  Prefactor  = 0.900638
 **********
 **   18 **HESSE 
 **********

 FCN=   9568.286     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .55E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6287        7.0710        .10051E-04   -1.5384    
   2  Index         2.2532        1.0448        .73899E-03   -.58160    
   3  Normalizat    1.2685        .21901        .12788E-04   -.84511    
   4  Prefactor     .90064        .12970        .87938E-05   -.96119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45274e-14
Minuit parameter uncertainties:
  1  7.07327
  2  1.05604
  3  0.219171
  4  0.129746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518075': 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) = 9568.28604833
delta logL = 0.0458305254688

Extracting fit parameters...

4FGL J1322.6-0936
   Spectrum: PowerLaw
306    Prefactor:  2.629e+00  7.073e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.253e+00  1.056e+00  0.000e+00  1.000e+01 (-1.000e+00)
308        Scale:  5.620e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.006e-01  1.297e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.269e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 200.664 -9.607

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/518075/cmap_HighResolution_283132801_283392001_4FGL_J1322.6-0936_daily_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.71e-08', time_completed='2021-09-07 14:38:41.007831', job_id='518075', GAL2='0.90', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1631050721.01', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.58e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='169' AND source_name='4FGL J1322.6-0936' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:38:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 518075: <4FGL_J1322.6-0936_daily_bin169> in cluster <slac> Done

Job <4FGL_J1322.6-0936_daily_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:25:29 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:25:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 14:25:43 2021
Terminated at Tue Sep  7 14:38:41 2021
Results reported at Tue Sep  7 14:38:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.6-0936_daily_bin169 200.664 -9.6075 283132801 283392001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1322.6-0936 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            792 sec.

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

