/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 2 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 = 7420
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1322.6-0936_daily_bin544
RA = 200.664, Dec = -9.6075
tmin = 380332801, tmax = 380592001
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='519338', job_status='RUN', time_executed='2021-09-07 14:31:41.898149', time_epoch_executed='1631050301.9' WHERE source_name='4FGL J1322.6-0936' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519338/ft1_4FGL_J1322.6-0936_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519338/ft1_4FGL_J1322.6-0936_daily_bin544.fits outfile=/scratch/kocevski/519338/ft1_filteredMKT_4FGL_J1322.6-0936_daily_bin544.fits ra=200.664 dec=-9.6075 rad=12.0 tmin=380332801.0 tmax=380592001.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.61
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.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/519338/ft1_filteredMKT_4FGL_J1322.6-0936_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.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.52
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/519338/ltcube_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.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/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits
.....................!
real 15.79
user 15.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/519338/ltcube_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits outfile=/scratch/kocevski/519338/expmap_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.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/519338/ltcube_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits
.....................!
real 191.89
user 186.68
sys 4.59

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/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits outfile=/scratch/kocevski/519338/cmap_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits outfile=/scratch/kocevski/519338/cmap_HighResolution_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.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.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/519338/Model_4FGL_J1322.6-0936_daily_bin544.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/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits.....................!
real 75.64
user 74.13
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits', '/scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits', expMap='/scratch/kocevski/519338/expmap_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits', expCube='/scratch/kocevski/519338/ltcube_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/519338/Model_4FGL_J1322.6-0936_daily_bin544.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/519338/ft1_filtered_4FGL_J1322.6-0936_daily_bin544.fits
Spacecraft file(s): /scratch/kocevski/519338/ft2_4FGL_J1322.6-0936_daily_bin544.fits
Exposure map: /scratch/kocevski/519338/expmap_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits
Exposure cube: /scratch/kocevski/519338/ltcube_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/519338/Model_4FGL_J1322.6-0936_daily_bin544.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) = 10060.1496007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13405       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.754       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8181       1.0000         .10000E-03   10000.    
     4 'norm      '    .44625       1.0000         .10000E-03   10000.    
     5 'norm      '    9.3733       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.097       1.0000         .10000E-03   10000.    
     7 'norm      '    9.4944       1.0000         .10000E-03   10000.    
     8 'norm      '    .75569E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.520       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8392       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.5557       1.0000         .10000E-03   10000.    
    15 'norm      '    10.606       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10499E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .46673       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2067       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95383       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=   10060.12     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2780 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69424E-01    4.4751       -.32800E-06   -.40691E-04
   2  Prefactor     12.731        30.354       -.51076E-05    .19868E-05
   3  norm          1.8006        32.102       -.68703E-05   -.11296E-03
   4  norm          .44616        .18999        .67303E-07   -.99335E-03
   5  norm          9.3722        6.0568       -.54856E-06   -.48894E-04
   6  Prefactor     27.095        32.470       -.30698E-05    .31657E-06
   7  norm          9.4890        8.8313       -.21841E-05   -.14365E-03
   8  norm          .10004E-03    4.1272        .17609E-05** at limit **
   9  Prefactor     .10000E-03    2.7176       -.46580E-07** at limit **
  10  Prefactor     15.513        15.263        .17433E-05   -.17635E-04
  11  Prefactor     7.8353        5.7754        .52213E-06   -.22016E-03
  12  Prefactor     .10000E-03    9.5817       -.11745E-05** at limit **
  13  norm          .10000E-03    .44793       -.25402E-07** at limit **
  14  norm          8.5546        3.4593       -.22177E-06   -.58995E-04
  15  norm          10.605        6.1738        .40850E-06   -.86821E-04
  16  Prefactor     .10000E-03    3.9839       -.98465E-07** at limit **
  17  norm          .10000E-03    13.674       -.19368E-06** at limit **
  18  norm          .10000E-03    .92232       -.25130E-07** at limit **
  19  Prefactor     .10000E-03    1.3647       -.17588E-07** at limit **
  20  Prefactor     .10000E-03    50.072        .52904E-06** at limit **
  21  norm          .10000E-03    1.6470       -.38838E-07** at limit **
  22  norm          .46647        1.0776       -.62258E-06   -.18773E-02
  23  Normalizat    1.2070        .17277        .59700E-06    .31305E-04
  24  Prefactor     .95379        .10081        .17727E-06    .32181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0694243
  Prefactor  = 12.7308
  norm       = 1.80063
  norm       = 0.446163
  norm       = 9.37223
  Prefactor  = 27.095
  norm       = 9.48905
  norm       = 0.000100042
  Prefactor  = 0.0001
  Prefactor  = 15.5127
  Prefactor  = 7.83529
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.55462
  norm       = 10.6047
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.466473
  Normalizat = 1.20697
  Prefactor  = 0.953789
 **********
 **   18 **HESSE 
 **********

 FCN=   10060.12     FROM HESSE     STATUS=OK           413 CALLS     3193 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69424E-01    8.1123        .64841E-01   -1.5655    
   2  Prefactor     12.731        30.255        .11216E-03   -1.4994    
   3  norm          1.8006        34.126        .30973E-03   -1.5440    
   4  norm          .44616        .18865        .25629E-04   -1.5574    
   5  norm          9.3722        6.0615        .13090E-03   -1.5096    
   6  Prefactor     27.095        32.263        .76959E-04   -1.4666    
   7  norm          9.4890        8.8179        .13006E-03   -1.5092    
   8  norm          .10004E-03    12.773        .38235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.7383        .16146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.513        15.185        .10167E-03   -1.4920    
  11  Prefactor     7.8353        5.7519        .14321E-03   -1.5148    
  12  Prefactor     .10000E-03    9.6104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .99137        .12976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.5546        3.4525        .10475E-03   -1.5123    
  15  norm          10.605        6.1558        .12303E-03   -1.5057    
  16  Prefactor     .10000E-03    4.0002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .92534        .94060E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.3807        .11436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    50.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.6609        .12569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .46647        1.2189        .16346E-02   -1.5571    
  23  Normalizat    1.2070        .20041        .29936E-03   -.86388    
  24  Prefactor     .95379        .11691        .20306E-03   -.94286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42671e-09
Minuit parameter uncertainties:
  1  1.50005
  2  30.2915
  3  15.6878
  4  0.188649
  5  6.06192
  6  32.2839
  7  8.81914
  8  0.00146831
  9  2.79785e-06
  10  15.189
  11  5.7523
  12  1.41965e-06
  13  5.23391e-06
  14  3.45258
  15  6.15612
  16  2.82903e-06
  17  3.68302e-06
  18  7.9268e-07
  19  2.3181e-06
  20  6.04465e-05
  21  9.69745e-07
  22  1.21894
  23  0.200536
  24  0.116945
Done.

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

Extracting fit parameters...

4FGL J1322.6-0936
   Spectrum: PowerLaw
306    Prefactor:  7.835e+00  5.752e+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.538e-01  1.169e-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.207e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.64
Ra Dec: 200.664 -9.607
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 8.43e-06

TS (Fixed Index): 3.64
Ra Dec: 200.664 -9.607
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/519338/likelihoodResults_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.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) = 10060.0901922
delta logL = 0.0304016533919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10060.0854064
delta logL = 0.035187466061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3784       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4281       1.0000          .0000       10.000    
     3 'Normalizat'    1.2150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95056       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=   10060.09     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      281 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3823        6.4786        .69249E-03    .10486E-03
   2  Index         2.4287        .71198        .11580E-01    .54214E-05
   3  Normalizat    1.2150        .19231        .29853E-03   -.15233E-06
   4  Prefactor     .95058        .11645        .20335E-03   -.33544E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.38229
  Index      = 2.42875
  Normalizat = 1.215
  Prefactor  = 0.950582
 **********
 **   18 **HESSE 
 **********

 FCN=   10060.09     FROM HESSE     STATUS=OK            27 CALLS      308 TOTAL
                     EDM=   .26E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3823        6.4019        .13850E-03   -1.5129    
   2  Index         2.4287        .70338        .46319E-03   -.54013    
   3  Normalizat    1.2150        .19246        .11941E-04   -.86141    
   4  Prefactor     .95058        .11652        .81341E-05   -.94395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58366e-15
Minuit parameter uncertainties:
  1  6.40246
  2  0.70657
  3  0.192569
  4  0.116555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519338': 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) = 10060.0854057
delta logL = 0.0351882120485

Extracting fit parameters...

4FGL J1322.6-0936
   Spectrum: PowerLaw
306    Prefactor:  8.382e+00  6.402e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.429e+00  7.066e-01  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.506e-01  1.166e-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.215e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 200.664 -9.607
Photon Index (Free Index): 2.43 +/- 0.71
Photon Flux (Free Index): 3.89e-08 +/- 3.73e-08
Energy Flux (Free Index): 1.23e-05 +/- 9.90e-06

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/519338/cmap_HighResolution_380332801_380592001_4FGL_J1322.6-0936_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.04e-03', comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='1.23e-05', photon_flux_error='3.27e-08', dlogl='3.52e-02', energy_flux='1.15e-05', photon_flux2='3.89e-08', job_status='DONE', time_completed='2021-09-07 14:47:23.459755', photon_index_error2='0.71', photon_index2='2.43', ts='3.64', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='9.90e-06', EG='1.21', time_epoch_completed='1631051243.46', return_code='0', job_id='519338', GAL2='0.95', EG2='1.21', return_code2='0', energy_flux_error='8.43e-06', photon_flux_error2='3.73e-08', ts2='3.70', photon_index='2.62' WHERE bin_id='544' AND source_name='4FGL J1322.6-0936' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:47:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 519338: <4FGL_J1322.6-0936_daily_bin544> in cluster <slac> Done

Job <4FGL_J1322.6-0936_daily_bin544> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 14:30:58 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:31:31 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:31:31 2021
Terminated at Tue Sep  7 14:47:24 2021
Results reported at Tue Sep  7 14:47:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.6-0936_daily_bin544 200.664 -9.6075 380332801 380592001 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 :                                   941.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            986 sec.

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

