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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1171
RA = 203.154, Dec = -12.9436
tmin = 542851201, tmax = 543110401
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='763606', job_status='RUN', time_executed='2021-09-08 02:55:15.978293', time_epoch_executed='1631094915.98' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763606

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763606/ft1_4FGL_J1332.6-1256_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763606/ft1_4FGL_J1332.6-1256_daily_bin1171.fits outfile=/scratch/kocevski/763606/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1171.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=542851201.0 tmax=543110401.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 1.22
user 0.62
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.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/763606/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1171.fits evtable="EVENTS" outfile="/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.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.53
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/763606/ltcube_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.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/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits
.....................!
real 2.24
user 1.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/763606/ltcube_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits outfile=/scratch/kocevski/763606/expmap_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.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/763606/ltcube_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits
.....................!
real 196.34
user 189.78
sys 5.24

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/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits outfile=/scratch/kocevski/763606/cmap_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits outfile=/scratch/kocevski/763606/cmap_HighResolution_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.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.55
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/763606/Model_4FGL_J1332.6-1256_daily_bin1171.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/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits.......................!
real 15.35
user 14.04
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits', '/scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits', expMap='/scratch/kocevski/763606/expmap_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits', expCube='/scratch/kocevski/763606/ltcube_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/763606/Model_4FGL_J1332.6-1256_daily_bin1171.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/763606/ft1_filtered_4FGL_J1332.6-1256_daily_bin1171.fits
Spacecraft file(s): /scratch/kocevski/763606/ft2_4FGL_J1332.6-1256_daily_bin1171.fits
Exposure map: /scratch/kocevski/763606/expmap_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits
Exposure cube: /scratch/kocevski/763606/ltcube_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/763606/Model_4FGL_J1332.6-1256_daily_bin1171.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) = 233.40406251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2980       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29961E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    14.357       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.431       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    56.711       1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.842       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.598       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .32660E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    3.7068       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .20143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   233.3686     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     2253 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3003        4.7500       -.18588E-06   -.24407E-04
   2  norm          .10139E-03    24.465       -.75660E-04** at limit **
   3  Prefactor     .28049E-01    1.5062       -.29142E-04    .44888E-03
   4  norm          .10004E-03    22.964       -.58900E-04** at limit **
   5  norm          14.373        3.5244        .11421E-04   -.21166E-02
   6  norm          .10004E-03    24.566        .76306E-04** at limit **
   7  Prefactor     .10155E-03    16.201       -.18436E-04** at limit **
   8  Prefactor     .10002E-03    25.346        .76151E-04** at limit **
   9  Prefactor     .10317E-03    19.571        .63421E-04** at limit **
  10  norm          .10000E-03    7.8740        .85152E-07** at limit **
  11  norm          .10007E-03    22.846        .60518E-04** at limit **
  12  norm          .10322E-03    26.836       -.84728E-04** at limit **
  13  Prefactor     .10466E-03    15.864        .30639E-04** at limit **
  14  Prefactor     43.447        3.3719        .62820E-05   -.35637E-02
  15  norm          .13573E-03    132.49       -.19829E-03** at limit **
  16  Prefactor     .11432E-03    34.243        .48460E-04** at limit **
  17  norm          56.715        1.2211        .11679E-05   -.69547E-03
  18  Prefactor     58.857        3.0457        .46580E-05   -.28329E-02
  19  Prefactor     .28728E-03    161.20       -.28364E-03** at limit **
  20  norm          .10019E-03    48.137        .59075E-04** at limit **
  21  norm          10.609        1.4602        .23696E-05    .13757E-03
  22  Prefactor     .10095E-03    4.2420       -.42405E-04** at limit **
  23  Normalizat    3.7034        1.9844       -.10732E-04   -.17433E-04
  24  Prefactor     .20262        1.0131       -.10955E-04    .87927E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.30025
  norm       = 0.000101389
  Prefactor  = 0.0280491
  norm       = 0.000100038
  norm       = 14.3735
  norm       = 0.000100042
  Prefactor  = 0.000101547
  Prefactor  = 0.000100016
  Prefactor  = 0.000103172
  norm       = 0.000100005
  norm       = 0.000100066
  norm       = 0.000103216
  Prefactor  = 0.000104664
  Prefactor  = 43.4467
  norm       = 0.000135726
  Prefactor  = 0.000114325
  norm       = 56.7148
  Prefactor  = 58.8569
  Prefactor  = 0.000287279
  norm       = 0.000100191
  norm       = 10.6092
  Prefactor  = 0.000100945
  Normalizat = 3.70339
  Prefactor  = 0.202616
 **********
 **   18 **HESSE 
 **********

 FCN=   233.3686     FROM HESSE     STATUS=OK           435 CALLS     2688 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3003        4.9406        .43654E-02   -1.5247    
   2  norm          .10139E-03    66.912        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28049E-01    9788.7        .91718E-02   -1.5675    
   4  norm          .10004E-03    23.005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.373        555.56        .26427E-02   -1.4950    
   6  norm          .10004E-03    106.70        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10155E-03    76.354        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    108.61        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10317E-03    95.052        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.8682        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10007E-03    22.893        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10322E-03    64.918        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10466E-03    85.363        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.447        838.83        .15208E-02   -1.4389    
  15  norm          .13573E-03    246.13        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11432E-03    129.43        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          56.715        73.413        .13317E-02   -1.4200    
  18  Prefactor     58.857        72.500        .13075E-02   -1.4172    
  19  Prefactor     .28728E-03    429.45        .90712E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10019E-03    48.531        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.609        30.748        .30769E-02   -1.5056    
  22  Prefactor     .10095E-03    498.72        .10677E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    3.7034        2.3421        .78410E-01   -.26363    
  24  Prefactor     .20262        1.3250        .12364       -1.2851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32677e-06
Minuit parameter uncertainties:
  1  4.94096
  2  0.0192997
  3  45.6548
  4  0.00186029
  5  180.554
  6  0.00423607
  7  0.0217648
  8  0.00261841
  9  0.0347837
  10  0.000381117
  11  0.00246664
  12  0.0289275
  13  0.0399636
  14  388.258
  15  0.188323
  16  0.0863066
  17  73.5301
  18  72.609
  19  0.571334
  20  0.00609167
  21  30.794
  22  0.043799
  23  2.44562
  24  1.0729
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.001e-04  2.467e-03  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:  2.026e-01  1.073e+00  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:  3.703e+00  2.446e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: 1.45e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/763606/likelihoodResults_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.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) = 233.368622511
delta logL = -7.31630271389e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 233.368620208
delta logL = -5.01360651128e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10338E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4758       1.0000          .0000       5.0000    
     3 'Normalizat'    3.7038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .20274       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   233.3686     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      292 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6588.6        .41119E-02** at limit **
   2  alpha         1.5823        3.9747        .18420        .13076E-08
   3  Normalizat    3.7034        .59005        .34660E-03   -.23371E-06
   4  Prefactor     .20261        .27080        .54672E-03    .45683E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.58231
  Normalizat = 3.70341
  Prefactor  = 0.202606
 **********
 **   18 **HESSE 
 **********

 FCN=   233.3686     FROM HESSE     STATUS=OK            23 CALLS      315 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.093        .82238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5823        3.4742        .73682E-02   -.37586    
   3  Normalizat    3.7034        1.9598        .13864E-04   -.26362    
   4  Prefactor     .20261        1.0071        .21869E-04   -1.2851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08845e-13
Minuit parameter uncertainties:
  1  3.18753e-05
  2  684.873
  3  2.01815
  4  0.929697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763606': 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) = 233.368614477
delta logL = 7.17521686511e-07

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.188e-05  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.582e+00  6.849e+02  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:  2.026e-01  9.297e-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:  3.703e+00  2.018e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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/763606/cmap_HighResolution_542851201_543110401_4FGL_J1332.6-1256_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-04', job_status='DONE', photon_flux_upper_limit='1.45e-06', time_completed='2021-09-08 03:00:24.366476', job_id='763606', GAL2='0.20', fit_tolerance='1e-08', EG2='3.70', EG='3.70', time_epoch_completed='1631095224.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.20', dlogl='7.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1171' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:00:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 763606: <4FGL_J1332.6-1256_daily_bin1171> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1171> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 02:52:34 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:52:38 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:52:38 2021
Terminated at Wed Sep  8 03:00:25 2021
Results reported at Wed Sep  8 03:00:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1171 203.154 -12.9436 542851201 543110401 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 :                                   308.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             210.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   468 sec.
    Turnaround time :                            471 sec.

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

