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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin670
RA = 203.154, Dec = -12.9436
tmin = 412992001, tmax = 413251201
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='759250', job_status='RUN', time_executed='2021-09-08 02:41:36.943780', time_epoch_executed='1631094096.94' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/759250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/759250/ft1_4FGL_J1332.6-1256_daily_bin670.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/759250/ft1_4FGL_J1332.6-1256_daily_bin670.fits outfile=/scratch/kocevski/759250/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin670.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=412992001.0 tmax=413251201.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.55
user 3.32
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.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/759250/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin670.fits evtable="EVENTS" outfile="/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits" evtable="EVENTS" scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits sctable="SC_DATA" outfile=/scratch/kocevski/759250/ltcube_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.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/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits
.....................!
real 15.35
user 14.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits evtable="EVENTS" scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits sctable="SC_DATA" expcube=/scratch/kocevski/759250/ltcube_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits outfile=/scratch/kocevski/759250/expmap_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.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/759250/ltcube_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits
.....................!
real 191.56
user 186.02
sys 4.84

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

Setting source of interest to:
4FGL J1332.6-1256 @ 203.154 -12.9436

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits outfile=/scratch/kocevski/759250/cmap_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.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=203.154 yref=-12.9436 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.64
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits outfile=/scratch/kocevski/759250/cmap_HighResolution_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.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=203.154 yref=-12.9436 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.65
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits evtable="EVENTS" scfile=/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/759250/Model_4FGL_J1332.6-1256_daily_bin670.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/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits.!
real 16.02
user 12.27
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits', '/scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits', expMap='/scratch/kocevski/759250/expmap_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits', expCube='/scratch/kocevski/759250/ltcube_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/759250/Model_4FGL_J1332.6-1256_daily_bin670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.6-1256'

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/759250/ft1_filtered_4FGL_J1332.6-1256_daily_bin670.fits
Spacecraft file(s): /scratch/kocevski/759250/ft2_4FGL_J1332.6-1256_daily_bin670.fits
Exposure map: /scratch/kocevski/759250/expmap_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits
Exposure cube: /scratch/kocevski/759250/ltcube_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/759250/Model_4FGL_J1332.6-1256_daily_bin670.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 17.3666738403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 16.206905387

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.0833       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .83853       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3035       1.0000         .10000E-03   10000.    
     5 'norm      '    .10993E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .15321       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9408       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8237       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4749       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3314       1.0000         .10000E-03   10000.    
    12 'norm      '    5.1457       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1439       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.6273       1.0000         .10000E-03   10000.    
    15 'norm      '    .55847       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2346       1.0000         .10000E-03   10000.    
    17 'norm      '    2.7629       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0233       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7417       1.0000         .10000E-03   10000.    
    20 'norm      '    .27179E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5711       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99810E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16.19409     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      230 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6136        .29193E-02** at limit **
   2  norm          4.0833        1.0077         .0000         .0000    
   3  Prefactor     .22199E-03    .39581       -.98391E-05** at limit **
   4  norm          1.3035        1.1038         .0000         .0000    
   5  norm          .10000E-03    .20602        .93851E-06** at limit **
   6  norm          .10009E-03    .23824        .17885E-05** at limit **
   7  Prefactor     1.9408        1.0378         .0000         .0000    
   8  Prefactor     .10013E-03    .66567E-01   -.11339E-05** at limit **
   9  Prefactor     5.4749        1.0042         .0000         .0000    
  10  norm          .10000E-03    .20571        .11811E-06** at limit **
  11  norm          5.3314        1.0045         .0000         .0000    
  12  norm          5.1457        1.0048         .0000         .0000    
  13  Prefactor     1.1439        1.1603         .0000         .0000    
  14  Prefactor     8.6273        1.0017         .0000         .0000    
  15  norm          .10936E-03    .33104       -.45680E-04** at limit **
  16  Prefactor     3.2346        1.0125         .0000         .0000    
  17  norm          2.7629        1.0174         .0000         .0000    
  18  Prefactor     .15479E-03    .40330        .96423E-05** at limit **
  19  Prefactor     3.7417        1.0092         .0000         .0000    
  20  norm          .10003E-03    .24833        .77917E-05** at limit **
  21  norm          .10000E-03    .20571       -.14152E-05** at limit **
  22  Prefactor     .10002E-03    .10125       -.12130E-04** at limit **
  23  Normalizat    .10000E-01    .25769       -.80376E-05** at limit **
  24  Prefactor     .10051        .32988        .27286E-05   -.46266E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.08329
  Prefactor  = 0.000221988
  norm       = 1.30348
  norm       = 0.0001
  norm       = 0.000100091
  Prefactor  = 1.94084
  Prefactor  = 0.000100132
  Prefactor  = 5.4749
  norm       = 0.0001
  norm       = 5.33141
  norm       = 5.14568
  Prefactor  = 1.14393
  Prefactor  = 8.62728
  norm       = 0.000109356
  Prefactor  = 3.23462
  norm       = 2.76293
  Prefactor  = 0.000154793
  Prefactor  = 3.74169
  norm       = 0.00010003
  norm       = 0.0001
  Prefactor  = 0.000100024
  Normalizat = 0.01
  Prefactor  = 0.10051
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16.19409     FROM HESSE     STATUS=FAILED        13 CALLS      243 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6136        .29193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          541.22        537.07         .0000       -1.5304    
   3  Prefactor     .22199E-03    .39581       -.98391E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3035        1.1038         .0000       -1.5480    
   5  norm          .10000E-03    .20602        .93851E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10009E-03    .23824        .17885E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9408        1.0378         .0000       -1.5429    
   8  Prefactor     .10013E-03    .66567E-01   -.11339E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4749        1.0042         .0000       -1.5240    
  10  norm          .10000E-03    .20571        .11811E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3314        1.0045         .0000       -1.5246    
  12  norm          5.1457        1.0048         .0000       -1.5254    
  13  Prefactor     1.1439        1.1603         .0000       -1.5494    
  14  Prefactor     8.6273        1.0017         .0000       -1.5120    
  15  norm          .10936E-03    .33104       -.45680E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2346        1.0125         .0000       -1.5348    
  17  norm          2.7629        1.0174         .0000       -1.5376    
  18  Prefactor     .15479E-03    .40330        .96423E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.7417        1.0092         .0000       -1.5321    
  20  norm          .10003E-03    .24833        .77917E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .20571       -.14152E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10002E-03    .10125       -.12130E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .10000E-01    .25769       -.80376E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10051        .32988        .27286E-05   -1.3699    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14354e-10
Minuit parameter uncertainties:
  1  4.37397e-07
  2  1.0077
  3  0.0138974
  4  1.10385
  5  4.45573e-07
  6  0.000294404
  7  1.03778
  8  0.000187347
  9  1.00423
  10  9.44446e-09
  11  1.00447
  12  1.0048
  13  1.16033
  14  1.00169
  15  0.0035198
  16  1.01247
  17  1.01739
  18  0.00940182
  19  1.00922
  20  0.000172826
  21  9.92002e-08
  22  9.79614e-05
  23  1.96316e-07
  24  0.336214
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 16.1940906058

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.331e+00  1.004e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.005e-01  3.362e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.000e-02  1.963e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -3.49e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/759250/likelihoodResults_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.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): 101
logL (Free Index) = 16.1946406103
delta logL = -0.000550004517308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16.1946406103
delta logL = -0.000550004517308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.4026       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16.19464     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.4026        1.0001        .41191         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.4026
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16.19464     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.1955        1.2153        .41191       -.38970E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/759250': 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): 101
logL (Free Index) = 16.1946406103
delta logL = -0.000550004517308

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
281        alpha:  2.403e+00  1.029e+00  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 203.154 -12.944

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/759250/cmap_HighResolution_412992001_413251201_4FGL_J1332.6-1256_daily_bin670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-3.49e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-08 02:47:15.924402', job_id='759250', GAL2='0.10', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631094435.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.10', dlogl='-5.50e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='670' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:47:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 759250: <4FGL_J1332.6-1256_daily_bin670> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin670> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 02:40:28 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:40:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 02:40:59 2021
Terminated at Wed Sep  8 02:47:16 2021
Results reported at Wed Sep  8 02:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin670 203.154 -12.9436 412992001 413251201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.6-1256 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   320.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   377 sec.
    Turnaround time :                            408 sec.

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

