aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J2322.6-0735_daily_bin1665
RA = 350.658, Dec = -7.5907
tmin = 670896001, tmax = 671155201
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='358146', job_status='RUN', time_executed='2022-04-09 00:41:03.552911', time_epoch_executed='1649490063.55' WHERE source_name='4FGL J2322.6-0735' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/358146/ft1_4FGL_J2322.6-0735_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358146/ft1_4FGL_J2322.6-0735_daily_bin1665.fits outfile=/scratch/kocevski/358146/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1665.fits ra=350.658 dec=-7.5907 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.36
user 5.10
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.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/358146/ft1_filteredMKT_4FGL_J2322.6-0735_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/358146/ltcube_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.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/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits
.....................!
real 11.53
user 11.21
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/358146/ltcube_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits outfile=/scratch/kocevski/358146/expmap_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.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/358146/ltcube_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits
.....................!
real 190.81
user 186.29
sys 4.20

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

Setting source of interest to:
4FGL J2322.6-0735 @ 350.658 -7.5907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits outfile=/scratch/kocevski/358146/cmap_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.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=350.658 yref=-7.5907 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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits outfile=/scratch/kocevski/358146/cmap_HighResolution_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.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=350.658 yref=-7.5907 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/358146/Model_4FGL_J2322.6-0735_daily_bin1665.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/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits....................!
real 58.85
user 57.58
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits', '/scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits', expMap='/scratch/kocevski/358146/expmap_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits', expCube='/scratch/kocevski/358146/ltcube_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/358146/Model_4FGL_J2322.6-0735_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2322.6-0735'

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.363e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/358146/ft1_filtered_4FGL_J2322.6-0735_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/358146/ft2_4FGL_J2322.6-0735_daily_bin1665.fits
Exposure map: /scratch/kocevski/358146/expmap_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits
Exposure cube: /scratch/kocevski/358146/ltcube_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/358146/Model_4FGL_J2322.6-0735_daily_bin1665.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) = 6849.80545271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    105.20       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13636E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.689       1.0000         .10000E-03   10000.    
     5 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5104       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.362       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.673       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.728       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .33617E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.5037       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.113       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    6.6819       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.6434       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0071       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .88806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6849.789     FROM MIGRAD    STATUS=CONVERGED    767 CALLS     3919 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5097        .40378E-06** at limit **
   2  Prefactor     105.26        53.392       -.42849E-05    .48619E-05
   3  Prefactor     .10000E-03    264.21        .25326E-04** at limit **
   4  Prefactor     20.719        15.401       -.19158E-07   -.20702E-04
   5  norm          .10000E-03    .57530        .14242E-07** at limit **
   6  Prefactor     5.5191        30.557        .52536E-06   -.62439E-05
   7  Prefactor     14.364        10.488        .90403E-07   -.82627E-05
   8  Prefactor     .10000E-03    7.4235       -.33861E-06** at limit **
   9  norm          30.674        15.688        .11590E-06    .53260E-05
  10  Prefactor     14.731        13.604        .86385E-07    .76715E-05
  11  Prefactor     .10000E-03    32.383        .14794E-05** at limit **
  12  Prefactor     .10000E-03    14.561        .38035E-06** at limit **
  13  Prefactor     .10000E-03    3.7622       -.12595E-06** at limit **
  14  norm          .10000E-03    .28417       -.65228E-07** at limit **
  15  norm          .10000E-03    2.1206       -.90986E-07** at limit **
  16  Prefactor     .10000E-03    32.401        .17118E-05** at limit **
  17  Prefactor     .10000E-03    20.110       -.19941E-05** at limit **
  18  Prefactor     .10000E-03    6.6484        .53236E-07** at limit **
  19  Prefactor     .10000E-03    52.166       -.48191E-05** at limit **
  20  Prefactor     .10000E-03    8.1048       -.37457E-06** at limit **
  21  norm          4.5258        20.328        .13687E-05    .10995E-03
  22  Prefactor     .10000E-03    23.447        .35891E-06** at limit **
  23  Prefactor     .10000E-03    1.8327       -.87853E-07** at limit **
  24  Prefactor     24.140        35.129       -.23019E-05    .13686E-04
  25  norm          .10000E-03    .11128       -.18283E-07** at limit **
  26  norm          6.6828        3.2050        .19558E-07    .44921E-04
  27  Prefactor     .10000E-03    5.8069       -.10112E-07** at limit **
  28  Prefactor     2.6450        5.7691        .50562E-05    .19009E-04
  29  Normalizat    1.0070        .17270       -.14448E-05    .37886E-04
  30  Prefactor     .88800        .13727        .71684E-06   -.35607E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 105.257
  Prefactor  = 0.000100001
  Prefactor  = 20.7186
  norm       = 0.0001
  Prefactor  = 5.51907
  Prefactor  = 14.3645
  Prefactor  = 0.0001
  norm       = 30.6737
  Prefactor  = 14.7311
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.52576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.1405
  norm       = 0.0001
  norm       = 6.68281
  Prefactor  = 0.0001
  Prefactor  = 2.64495
  Normalizat = 1.00703
  Prefactor  = 0.887999
 **********
 **   18 **HESSE 
 **********

 FCN=   6849.789     FROM HESSE     STATUS=OK           586 CALLS     4505 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5329        .15145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     105.26        53.411        .19603E-03   -1.3652    
   3  Prefactor     .10000E-03    263.85        .20544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.719        14.135        .88058E-04   -1.4797    
   5  norm          .10000E-03    .69612        .10595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5191        29.195        .17116E-03   -1.5238    
   7  Prefactor     14.364        10.471        .10569E-03   -1.4950    
   8  Prefactor     .10000E-03    7.5115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.674        15.696        .72345E-04   -1.4600    
  10  Prefactor     14.731        13.606        .10437E-03   -1.4940    
  11  Prefactor     .10000E-03    32.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7835        .15673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .29491        .86021E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1380        .11767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.7046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    52.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.918        .37099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.5258        15.395        .18972E-03   -1.5282    
  22  Prefactor     .10000E-03    23.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.9753        .20714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     24.140        35.086        .81574E-04   -1.4725    
  25  norm          .10000E-03    .11392        .53543E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          6.6828        3.1870        .98761E-04   -1.5191    
  27  Prefactor     .10000E-03    5.8236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.6450        5.7673        .12538E-02   -1.5383    
  29  Normalizat    1.0070        .19935        .12659E-02   -.92795    
  30  Prefactor     .88800        .15997        .21848E-03   -.96562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04982e-10
Minuit parameter uncertainties:
  1  1.76055e-05
  2  53.4351
  3  0.00102268
  4  14.137
  5  5.11451e-07
  6  25.4066
  7  10.4725
  8  9.21508e-06
  9  15.6977
  10  13.6091
  11  3.64417e-05
  12  1.81264e-05
  13  5.24124e-06
  14  6.29126e-07
  15  2.83474e-06
  16  4.2602e-06
  17  6.82174e-06
  18  5.99068e-06
  19  6.43877e-06
  20  1.53203e-05
  21  15.4087
  22  8.46396e-06
  23  1.98185e-08
  24  35.1161
  25  2.35013e-07
  26  3.18711
  27  5.41847e-06
  28  5.76849
  29  0.199494
  30  0.160056
Done.

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

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.000e-04  5.241e-06  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.346e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  8.880e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.007e+00  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.658 -7.591
Photon Flux Upper Limit: 5.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/358146/likelihoodResults_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.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) = 6849.78985227
delta logL = -0.00125928194575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6849.78859311
delta logL = -1.2340478861e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3476       1.0000          .0000       10.000    
     3 'Normalizat'    1.0070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88805       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6849.789     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    75.285        .90712E-02** at limit **
   2  Index         2.3495        8.6907        .50000       -.47664E-05
   3  Normalizat    1.0070        .19186E-01    .46254E-01    .66618E-04
   4  Prefactor     .88800        .15728E-01    .44853E-01    .47344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.34949
  Normalizat = 1.00703
  Prefactor  = 0.888
 **********
 **   18 **HESSE 
 **********

 FCN=   6849.789     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    310.50        .15675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3495        6.9334        .50000       -.55872    
   3  Normalizat    1.0070        .42409E-01    .25318E-03   -.92795    
   4  Prefactor     .88800        .34767E-01    .21848E-03   -.96562    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43747e-09
Minuit parameter uncertainties:
  1  4.20601e-05
  2  38.631
  3  0.0424108
  4  0.0347675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358146': 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) = 6849.78859298
delta logL = 3.70528141502e-09

Extracting fit parameters...

4FGL J2322.6-0735
   Spectrum: PowerLaw
382    Prefactor:  1.000e-04  4.206e-05  1.000e-04  1.000e+04 ( 1.000e-13)
383        Index:  2.349e+00  3.863e+01  0.000e+00  1.000e+01 (-1.000e+00)
384        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  8.880e-01  3.477e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.007e+00  4.241e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.658 -7.591

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/358146/cmap_HighResolution_670896001_671155201_4FGL_J2322.6-0735_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='5.93e-08', time_completed='2022-04-09 00:55:06.585317', job_id='358146', GAL2='0.89', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1649490906.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.71e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1665' AND source_name='4FGL J2322.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:55:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 358146: <4FGL_J2322.6-0735_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2322.6-0735_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:40:14 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:40:16 2022
Terminated at Sat Apr  9 00:55:07 2022
Results reported at Sat Apr  9 00:55:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2322.6-0735_daily_bin1665 350.658 -7.5907 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2322.6-0735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.19 sec.
    Max Memory :                                 618 MB
    Average Memory :                             293.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

