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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin446
RA = 200.551, Dec = 8.7036
tmin = 354931201, tmax = 355190401
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='511993', job_status='RUN', time_executed='2021-09-07 14:08:17.197178', time_epoch_executed='1631048897.2' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511993/ft1_4FGL_J1322.2+0842_daily_bin446.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511993/ft1_4FGL_J1322.2+0842_daily_bin446.fits outfile=/scratch/kocevski/511993/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin446.fits ra=200.551 dec=8.7036 rad=12.0 tmin=354931201.0 tmax=355190401.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 2.77
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.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/511993/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin446.fits evtable="EVENTS" outfile="/scratch/kocevski/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.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.51
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits" evtable="EVENTS" scfile=/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits sctable="SC_DATA" outfile=/scratch/kocevski/511993/ltcube_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.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/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits
.....................!
real 15.06
user 14.70
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits evtable="EVENTS" scfile=/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits sctable="SC_DATA" expcube=/scratch/kocevski/511993/ltcube_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits outfile=/scratch/kocevski/511993/expmap_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.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/511993/ltcube_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits
.....................!
real 157.63
user 153.27
sys 3.92

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/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits scfile=/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits outfile=/scratch/kocevski/511993/cmap_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits scfile=/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits outfile=/scratch/kocevski/511993/cmap_HighResolution_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.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.50
user 0.32
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits', '/scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits', expMap='/scratch/kocevski/511993/expmap_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits', expCube='/scratch/kocevski/511993/ltcube_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511993/Model_4FGL_J1322.2+0842_daily_bin446.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/511993/ft1_filtered_4FGL_J1322.2+0842_daily_bin446.fits
Spacecraft file(s): /scratch/kocevski/511993/ft2_4FGL_J1322.2+0842_daily_bin446.fits
Exposure map: /scratch/kocevski/511993/expmap_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits
Exposure cube: /scratch/kocevski/511993/ltcube_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511993/Model_4FGL_J1322.2+0842_daily_bin446.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) = 4897.0870798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8978       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.118       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.334       1.0000         .10000E-03   10000.    
    10 'norm      '    18.825       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .85536       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4596       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .73743       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4897.035     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1600 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8981        1.7287       -.51093E-07   -.24281E-03
   2  Prefactor     11.992        43.805       -.21091E-05    .44213E-05
   3  Prefactor     .10000E-03    18.107       -.94285E-07** at limit **
   4  Prefactor     .10000E-03    3.6406       -.50726E-08** at limit **
   5  Prefactor     .10000E-03    6.2577       -.16149E-07** at limit **
   6  Prefactor     .10000E-03    6.9259        .13235E-07** at limit **
   7  Prefactor     .10000E-03    11.454       -.47109E-07** at limit **
   8  Prefactor     25.786        29.456        .48375E-05   -.10954E-03
   9  Prefactor     18.336        26.648       -.56226E-05    .11667E-03
  10  norm          18.826        38.976       -.35960E-05    .27467E-04
  11  Prefactor     .10000E-03    3.5929        .54216E-08** at limit **
  12  Prefactor     .10000E-03    14.896        .94455E-07** at limit **
  13  Prefactor     .85088        4.1652       -.15697E-05   -.91216E-03
  14  Prefactor     14.954        16.354       -.20260E-05    .98239E-04
  15  Prefactor     .10000E-03    4.8993       -.78743E-08** at limit **
  16  Normalizat    1.4599        .21511        .23471E-06    .34466E-04
  17  Prefactor     .73728        .17448        .41189E-06    .20773E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89809
  Prefactor  = 11.9919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.7858
  Prefactor  = 18.3355
  norm       = 18.8256
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.850877
  Prefactor  = 14.954
  Prefactor  = 0.0001
  Normalizat = 1.4599
  Prefactor  = 0.737278
 **********
 **   18 **HESSE 
 **********

 FCN=   4897.035     FROM HESSE     STATUS=OK           217 CALLS     1817 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8981        1.7197        .84982E-04   -1.5432    
   2  Prefactor     11.992        43.795        .11508E-03   -1.5015    
   3  Prefactor     .10000E-03    18.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.6476        .13039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.3033        .17095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.9320        .17987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.786        28.808        .78880E-04   -1.4692    
   9  Prefactor     18.336        25.871        .93540E-04   -1.4851    
  10  norm          18.826        38.930        .92311E-04   -1.4840    
  11  Prefactor     .10000E-03    3.7191        .25886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .85088        5.1140        .30112E-03   -1.5523    
  14  Prefactor     14.954        16.132        .10357E-03   -1.4934    
  15  Prefactor     .10000E-03    4.9035        .15128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4599        .25626        .23169E-03   -.78912    
  17  Prefactor     .73728        .20760        .25118E-03   -1.0208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87007e-09
Minuit parameter uncertainties:
  1  1.71978
  2  43.9123
  3  9.10601e-07
  4  1.75646e-06
  5  4.91199e-06
  6  1.53488e-06
  7  8.82147e-06
  8  28.8235
  9  25.8872
  10  38.9828
  11  2.39261e-07
  12  3.23497e-06
  13  4.17228
  14  16.137
  15  4.93575e-07
  16  0.256491
  17  0.207823
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  8.821e-06  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:  7.373e-01  2.078e-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.460e+00  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 200.551 8.704
Photon Flux Upper Limit: 8.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511993/likelihoodResults_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.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) = 4897.03547835
delta logL = -0.000410532354181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4897.03506954
delta logL = -1.72340332938e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11735E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2790       1.0000          .0000       10.000    
     3 'Normalizat'    1.4595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73757       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4897.035     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10195E-03    .12810        .65655E-01** at limit **
   2  Index         2.3537        8.8128        .50000       -.12051E-04
   3  Normalizat    1.4599        .74429E-03    .23169E-03    .39520E-04
   4  Prefactor     .73728        .59912E-03    .25118E-03    .31910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101947
  Index      = 2.35373
  Normalizat = 1.4599
  Prefactor  = 0.737278
 **********
 **   18 **HESSE 
 **********

 FCN=   4897.035     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10195E-03    39.464        .35019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3537        8.8229        .50000       -.55772    
   3  Normalizat    1.4599        .95732E-02    .46338E-04   -.78912    
   4  Prefactor     .73728        .77061E-02    .10047E-04   -1.0208    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.85328e-09
Minuit parameter uncertainties:
  1  0.0175411
  2  230.92
  3  0.00957324
  4  0.00770609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511993': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4897.03506764
delta logL = 1.78061782208e-07

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.019e-04  1.754e-02  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.354e+00  2.309e+02  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:  7.373e-01  7.706e-03  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.460e+00  9.573e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.551 8.704

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/511993/cmap_HighResolution_354931201_355190401_4FGL_J1322.2+0842_daily_bin446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-07 14:15:09.652460', job_id='511993', GAL2='0.74', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1631049309.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='446' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:15:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 511993: <4FGL_J1322.2+0842_daily_bin446> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin446> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:05:23 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:05: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:05:31 2021
Terminated at Tue Sep  7 14:15:10 2021
Results reported at Tue Sep  7 14:15:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin446 200.551 8.7036 354931201 355190401 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 :                                   411.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            587 sec.

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

