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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin706
RA = 200.551, Dec = 8.7036
tmin = 422323201, tmax = 422582401
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='513433', job_status='RUN', time_executed='2021-09-07 14:13:43.413329', time_epoch_executed='1631049223.41' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513433/ft1_4FGL_J1322.2+0842_daily_bin706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513433/ft1_4FGL_J1322.2+0842_daily_bin706.fits outfile=/scratch/kocevski/513433/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin706.fits ra=200.551 dec=8.7036 rad=12.0 tmin=422323201.0 tmax=422582401.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.57
user 3.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.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/513433/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin706.fits evtable="EVENTS" outfile="/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits" evtable="EVENTS" scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits sctable="SC_DATA" outfile=/scratch/kocevski/513433/ltcube_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.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/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits
.....................!
real 16.93
user 16.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits sctable="SC_DATA" expcube=/scratch/kocevski/513433/ltcube_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits outfile=/scratch/kocevski/513433/expmap_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.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/513433/ltcube_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits
.....................!
real 193.34
user 187.24
sys 5.64

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

Setting source of interest to:
4FGL J1322.2+0842 @ 200.551 8.7036

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits outfile=/scratch/kocevski/513433/cmap_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.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.551 yref=8.7036 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits outfile=/scratch/kocevski/513433/cmap_HighResolution_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.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.551 yref=8.7036 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/513433/Model_4FGL_J1322.2+0842_daily_bin706.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/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits.....................!
real 51.47
user 50.06
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits', '/scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits', expMap='/scratch/kocevski/513433/expmap_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits', expCube='/scratch/kocevski/513433/ltcube_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/513433/Model_4FGL_J1322.2+0842_daily_bin706.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1322.2+0842'

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.652e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/513433/ft1_filtered_4FGL_J1322.2+0842_daily_bin706.fits
Spacecraft file(s): /scratch/kocevski/513433/ft2_4FGL_J1322.2+0842_daily_bin706.fits
Exposure map: /scratch/kocevski/513433/expmap_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits
Exposure cube: /scratch/kocevski/513433/ltcube_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/513433/Model_4FGL_J1322.2+0842_daily_bin706.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) = 6423.48820316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.699       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59885       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    70.622       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40429       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1577       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89986       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6423.482     FROM MIGRAD    STATUS=CONVERGED     82 CALLS     1361 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3390        1.3159        .17204E-06    .20788E-03
   2  Prefactor     25.695        1.4610       -.16788E-05    .13037E-02
   3  Prefactor     .10000E-03    18.626       -.39127E-05** at limit **
   4  Prefactor     5.2000        12.417        .44043E-04   -.11426E-03
   5  Prefactor     .60982        36.583       -.97659E-04    .12009E-04
   6  Prefactor     .10029E-03    288.74       -.16592E-04** at limit **
   7  Prefactor     8.4722        1.4991        .30299E-05    .12461E-02
   8  Prefactor     .10000E-03    8.3995        .21898E-05** at limit **
   9  Prefactor     70.622        1.4403       -.10098E-05    .22421E-02
  10  norm          .10000E-03    10.343       -.83931E-05** at limit **
  11  Prefactor     .39585        7.0392       -.28875E-06   -.23231E-03
  12  Prefactor     .10000E-03    6.1034        .97937E-06** at limit **
  13  Prefactor     7.1563        1.0807       -.97523E-06   -.25801E-02
  14  Prefactor     .10000E-03    5.7664        .37481E-06** at limit **
  15  Prefactor     .10001E-03    13.279        .83521E-05** at limit **
  16  Normalizat    1.1378        .22580       -.10655E-04   -.67066E-03
  17  Prefactor     .89991        .17800        .52332E-05   -.84472E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33905
  Prefactor  = 25.695
  Prefactor  = 0.000100004
  Prefactor  = 5.19996
  Prefactor  = 0.609816
  Prefactor  = 0.000100287
  Prefactor  = 8.47224
  Prefactor  = 0.000100002
  Prefactor  = 70.6218
  norm       = 0.0001
  Prefactor  = 0.395853
  Prefactor  = 0.0001
  Prefactor  = 7.15629
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 1.13782
  Prefactor  = 0.899913
 **********
 **   18 **HESSE 
 **********

 FCN=   6423.482     FROM HESSE     STATUS=OK           269 CALLS     1630 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3390        1.3365        .94709E-02   -1.5477    
   2  Prefactor     25.695        39.102        .19755E-02   -1.4694    
   3  Prefactor     .10000E-03    18.625        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2000        15.137        .43987E-02   -1.5252    
   5  Prefactor     .60982        9.2913        .11668       -1.5552    
   6  Prefactor     .10029E-03    13.604        .96235E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4722        10.658        .34427E-02   -1.5126    
   8  Prefactor     .10000E-03    8.4000        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     70.622        54.633        .11942E-02   -1.4025    
  10  norm          .10000E-03    10.331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .39585        1.9784        .60055E-01   -1.5582    
  12  Prefactor     .10000E-03    6.1031        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1563        5.7480        .37483E-02   -1.5173    
  14  Prefactor     .10000E-03    5.7601        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    13.100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1378        .19735        .58624E-01   -.88547    
  17  Prefactor     .89991        .14842        .45003E-01   -.96144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.53789e-08
Minuit parameter uncertainties:
  1  1.3365
  2  39.1414
  3  0.000541388
  4  15.1481
  5  4.76117
  6  0.00395312
  7  10.6606
  8  0.000274549
  9  54.6717
  10  5.37863e-05
  11  1.7698
  12  2.32878e-05
  13  5.74842
  14  0.000102154
  15  0.000683003
  16  0.197475
  17  0.148483
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  8.472e+00  1.066e+01  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  8.999e-01  1.485e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.138e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 200.551 8.704
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513433/likelihoodResults_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.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) = 6423.31129647
delta logL = 0.170297016692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6423.30881212
delta logL = 0.172781367128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7850       1.0000          .0000       10.000    
     3 'Normalizat'    1.1505       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+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=   6423.309     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      282 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.503        15.022        .54513E-03   -.39019E-04
   2  Index         1.7850        .69527        .10850E-01    .19678E-04
   3  Normalizat    1.1506        .22388        .25795E-03    .13799E-03
   4  Prefactor     .89166        .17714        .22737E-03   -.18681E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5029
  Index      = 1.78496
  Normalizat = 1.15063
  Prefactor  = 0.891662
 **********
 **   18 **HESSE 
 **********

 FCN=   6423.309     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.503        14.952        .21805E-04   -1.4973    
   2  Index         1.7850        .69225        .43401E-03   -.69842    
   3  Normalizat    1.1506        .22407        .10318E-04   -.88142    
   4  Prefactor     .89166        .17732        .90947E-05   -.96433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34845e-10
Minuit parameter uncertainties:
  1  14.9561
  2  0.696075
  3  0.224257
  4  0.177436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513433': 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) = 6423.30881189
delta logL = 0.172781601346

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.350e+01  1.496e+01  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  1.785e+00  6.961e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  8.917e-01  1.774e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.151e+00  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 200.551 8.704
Photon Index (Free Index): 1.78 +/- 0.70
Photon Flux (Free Index): 1.95e-08 +/- 2.81e-08
Energy Flux (Free Index): 2.44e-05 +/- 3.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/513433/cmap_HighResolution_422323201_422582401_4FGL_J1322.2+0842_daily_bin706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', comment='SUCCESS', energy_flux2='2.44e-05', dlogl='1.73e-01', photon_flux2='1.95e-08', job_status='DONE', time_completed='2021-09-07 14:22:37.219214', photon_index_error2='0.70', photon_index2='1.78', ts='0.78', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='3.96e-05', EG='1.14', time_epoch_completed='1631049757.22', return_code='0', job_id='513433', GAL2='0.89', EG2='1.15', return_code2='0', photon_flux_error2='2.81e-08', ts2='1.13', photon_index='2.26' WHERE bin_id='706' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:22:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 513433: <4FGL_J1322.2+0842_daily_bin706> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 14:10:25 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:10:49 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:10:49 2021
Terminated at Tue Sep  7 14:22:38 2021
Results reported at Tue Sep  7 14:22:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin706 200.551 8.7036 422323201 422582401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1322.2+0842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   534.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            733 sec.

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

