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 144 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1612.4-3100_daily_bin1744
RA = 243.1, Dec = -31.0011
tmin = 691372801, tmax = 691632001
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='585198', job_status='RUN', time_executed='2022-12-02 01:18:05.883795', time_epoch_executed='1669972685.88' WHERE source_name='4FGL J1612.4-3100' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585198/ft1_4FGL_J1612.4-3100_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585198/ft1_4FGL_J1612.4-3100_daily_bin1744.fits outfile=/scratch/kocevski/585198/ft1_filteredMKT_4FGL_J1612.4-3100_daily_bin1744.fits ra=243.1 dec=-31.0011 rad=12.0 tmin=691372801.0 tmax=691632001.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.02
user 2.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.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/585198/ft1_filteredMKT_4FGL_J1612.4-3100_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.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 3.26
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/585198/ltcube_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.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/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits
.....................!
real 20.46
user 11.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/585198/ltcube_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits outfile=/scratch/kocevski/585198/expmap_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.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/585198/ltcube_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits
.....................!
real 196.76
user 184.73
sys 5.37

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Added 458 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1612.4-3100 @ 243.1 -31.0011

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits outfile=/scratch/kocevski/585198/cmap_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.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=243.1 yref=-31.0011 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.71
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits outfile=/scratch/kocevski/585198/cmap_HighResolution_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.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=243.1 yref=-31.0011 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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585198/Model_4FGL_J1612.4-3100_daily_bin1744.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source RX J1713.7-3946
Working on...
/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits.........................!
real 28.16
user 26.83
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits', '/scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits', expMap='/scratch/kocevski/585198/expmap_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits', expCube='/scratch/kocevski/585198/ltcube_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/585198/Model_4FGL_J1612.4-3100_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1612.4-3100'

4FGL J1612.4-3100
   Spectrum: LogParabola
422         norm:  4.701e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
423        alpha:  1.963e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
424         beta:  1.333e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
425           Eb:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/585198/ft1_filtered_4FGL_J1612.4-3100_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/585198/ft2_4FGL_J1612.4-3100_daily_bin1744.fits
Exposure map: /scratch/kocevski/585198/expmap_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits
Exposure cube: /scratch/kocevski/585198/ltcube_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/585198/Model_4FGL_J1612.4-3100_daily_bin1744.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) = 359.922479891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    201.86       1.0000          .0000       .10000E+07
     3 'norm      '     .0000       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     5 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     6 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     7 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     8 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     9 'norm      '    .31863E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .59050       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17708E-07   1.0000          .0000       .10000E+07
    12 'Normalizat'    .34266       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .12560E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1679E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   359.9188     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1489 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.1679        .22573E-08** at limit **
   2  Prefactor     201.87        1.0326       -.79599E-09   -.34706E-02
   3  norm          .13279E-01    867.79        .29835E-06** at limit **
   4  Prefactor     .16653E-09    22.533       -.39723E-07** at limit **
   5  norm          .10000E+07    21.523        .15288E-06   -.22701E-01
   6  Prefactor     .17641E-06    111.36        .32841E-06** at limit **
   7  norm          .10000E+07    2.0047        .35791E-07   -.53089E-02
   8  norm          .10000E+07    4.6167        .73250E-07   -.10859E-01
   9  norm          .29232E-02    632.28        .48855E-05** at limit **
  10  norm          .45473        439.85        .30357E-05    .54763E-01
  11  Prefactor     .55511E-10    23.628       -.59823E-07** at limit **
  12  Normalizat    .34283        .40277        .43010E-05    .24111E-04
  13  Prefactor     .38858E-14    .12109        .14537E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 201.87
  norm       = 0.0132794
  Prefactor  = 1.66533e-10
  norm       = 999999
  Prefactor  = 1.76414e-07
  norm       = 999999
  norm       = 999999
  norm       = 0.00292323
  norm       = 0.454734
  Prefactor  = 5.55112e-11
  Normalizat = 0.342832
  Prefactor  = 3.88578e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   359.9188     FROM HESSE     STATUS=OK           167 CALLS     1656 TOTAL
                     EDM=   .83E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.1667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     201.87        282.76        .70392E-04   -1.5424    
   3  norm          .13279E-01    1618.0        .42118E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E+07    19106.        .42118E-03    1.5691    
   6  Prefactor     .17641E-06    111.43        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E+07    87180.        .42118E-03    1.5689    
   8  norm          .10000E+07    42181.        .42118E-03    1.5689    
   9  norm          .29232E-02    768.04        .42118E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .45473        121.53        .70083E-02   -1.5694    
  11  Prefactor     .55511E-10    23.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .34283        .43230        .94973E-01   -1.2037    
  13  Prefactor     .38858E-14    .78838E-01    .63692E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34326e-05
Minuit parameter uncertainties:
  1  1.82315e-06
  2  282.774
  3  9.27299
  4  0.000126159
  5  242.131
  6  0.00886768
  7  571.816
  8  384.441
  9  2.99715
  10  14.868
  11  8.2691e-05
  12  0.436599
  13  3.45679e-08
Done.

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

Extracting fit parameters...

4FGL J1612.4-3100
   Spectrum: LogParabola
422         norm:  1.000e+06  5.718e+02  0.000e+00  1.000e+06 ( 1.000e-13)
423        alpha:  1.963e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
424         beta:  1.333e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
425           Eb:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1665    Prefactor:  3.886e-15  3.457e-08  0.000e+00  1.000e+01 ( 1.000e+00)
1666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1637   Normalization:  3.428e-01  4.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.79
Ra Dec: 243.100 -31.001
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.59e-03 +/- 9.08e-07
Energy Flux (Fixed Index): 1.26e+00 +/- 7.20e-04

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) = 234.237844762
delta logL = 125.680967913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 234.233869519
delta logL = 125.684943157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .30393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74023E-09   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1679E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   234.2338     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .75E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E+07    14017.        .19077E-02** at limit **
   2  alpha         5.0000        .74904E-02   -.74072E-06** at limit **
   3  Normalizat    .30426        .38587       -.36909E-06   -.49758E-05
   4  Prefactor     .34972E-13    .52775E-01    .69485E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 1e+06
  alpha      = 5
  Normalizat = 0.304264
  Prefactor  = 3.4972e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   234.2338     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E+07    14017.        .90158E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .74897E-02    .57925E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .30426        .37774        .33933E-03   -1.2258    
   4  Prefactor     .34972E-13    .63001E-01    .21410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80104e-12
Minuit parameter uncertainties:
  1  0.000101362
  2  2.54334e-10
  3  0.380963
  4  9.42611e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585198': 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) = 234.233836835
delta logL = 125.684975841

Extracting fit parameters...

4FGL J1612.4-3100
   Spectrum: LogParabola
422         norm:  1.000e+06  1.014e-04  0.000e+00  1.000e+06 ( 1.000e-13)
423        alpha:  5.000e+00  2.543e-10  0.000e+00  5.000e+00 ( 1.000e+00)
424         beta:  1.333e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
425           Eb:  1.680e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1665    Prefactor:  3.497e-14  9.426e-08  0.000e+00  1.000e+01 ( 1.000e+00)
1666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1637   Normalization:  3.043e-01  3.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 267.18
Ra Dec: 243.100 -31.001
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.40e+00 +/- 9.07e-10
Energy Flux (Free Index): 1.97e+02 +/- 1.23e-07

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/585198/cmap_HighResolution_691372801_691632001_4FGL_J1612.4-3100_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-03', energy_flux2='1.97e+02', photon_flux_error='9.08e-07', dlogl='1.26e+02', energy_flux='1.26e+00', photon_flux2='1.40e+00', job_status='DONE', time_completed='2022-12-02 01:25:45.911008', photon_index_error2='0.00', photon_index2='5.00', ts='15.79', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='1.23e-07', EG='0.34', time_epoch_completed='1669973145.91', return_code='0', job_id='585198', GAL2='0.00', EG2='0.30', return_code2='0', energy_flux_error='7.20e-04', photon_flux_error2='9.07e-10', ts2='267.18', photon_index='1.96' WHERE bin_id='1744' AND source_name='4FGL J1612.4-3100' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:25:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 585198: <4FGL_J1612.4-3100_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1612.4-3100_daily_bin1744> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec  2 01:15:30 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:15:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:15:32 2022
Terminated at Fri Dec  2 01:25:46 2022
Results reported at Fri Dec  2 01:25:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1612.4-3100_daily_bin1744 243.1 -31.0011 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1612.4-3100 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   438.34 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             253.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

