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


Performing analysis on: 4FGL_J1332.2+4722_daily_bin1716
RA = 203.059, Dec = 47.3728
tmin = 684115201, tmax = 684374401
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='135118', job_status='RUN', time_executed='2022-09-16 17:44:20.062281', time_epoch_executed='1663375460.06' WHERE source_name='4FGL J1332.2+4722' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135118

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135118/ft1_4FGL_J1332.2+4722_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135118/ft1_4FGL_J1332.2+4722_daily_bin1716.fits outfile=/scratch/kocevski/135118/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1716.fits ra=203.059 dec=47.3728 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.23
user 3.90
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.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/135118/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.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.36
sys 0.16

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/135118/ltcube_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.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/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits
.....................!
real 15.72
user 15.29
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/135118/ltcube_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits outfile=/scratch/kocevski/135118/expmap_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.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/135118/ltcube_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits
.....................!
real 193.60
user 187.95
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 209 point sources and 0 extended sources

Setting source of interest to:
4FGL J1332.2+4722 @ 203.059 47.3728

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits outfile=/scratch/kocevski/135118/cmap_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.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.059 yref=47.3728 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits outfile=/scratch/kocevski/135118/cmap_HighResolution_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.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.059 yref=47.3728 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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135118/Model_4FGL_J1332.2+4722_daily_bin1716.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/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits.....................!
real 47.81
user 46.46
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits', '/scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits', expMap='/scratch/kocevski/135118/expmap_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits', expCube='/scratch/kocevski/135118/ltcube_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135118/Model_4FGL_J1332.2+4722_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.2+4722'

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  8.063e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.642e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  7.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135118/ft1_filtered_4FGL_J1332.2+4722_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/135118/ft2_4FGL_J1332.2+4722_daily_bin1716.fits
Exposure map: /scratch/kocevski/135118/expmap_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits
Exposure cube: /scratch/kocevski/135118/ltcube_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135118/Model_4FGL_J1332.2+4722_daily_bin1716.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) = 5703.40981821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.296       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31360E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58259E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.4139       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55841E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12472E-02   1.0000          .0000       .10000E+07
     7 'norm      '    16.053       1.0000          .0000       .10000E+07
     8 'norm      '    .10629E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3371       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14129E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .49960E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.767       1.0000          .0000       .10000E+07
    13 'norm      '    2.1107       1.0000          .0000       .10000E+07
    14 'norm      '    3.5692       1.0000          .0000       .10000E+07
    15 'norm      '    19.140       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.465       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11490E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.5509       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3283       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.1566       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56907E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .14716E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    23.671       1.0000          .0000       .10000E+07
    24 'Normalizat'    .74595       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1867       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5703.302     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1682 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.292        9.4265       -.59014E-06   -.19866E-02
   2  Prefactor     .21947E-05    10.657       -.25444E-05** at limit **
   3  Prefactor     .55511E-09    7.9103        .78919E-06** at limit **
   4  norm          2.4110        2.0110        .97892E-07    .17349E-02
   5  Prefactor     .27756E-09    9.4630        .84820E-07** at limit **
   6  Prefactor     .26645E-06    12.452        .45983E-05** at limit **
   7  norm          15.923        11.326       -.48765E-07    .50742E-03
   8  norm           .0000        3.2289       -.14562E-05** at limit **
   9  Prefactor     .52701E-04    627.16       -.13212E-04** at limit **
  10  Prefactor     .30176E-05    8.0393       -.73911E-05** at limit **
  11  norm           .0000        1.0960        .78155E-06** at limit **
  12  Prefactor     16.471        34.864        .20004E-05    .14909E-01
  13  norm          2.1119        1.3153       -.19180E-06   -.32177E-02
  14  norm          3.5539        3.7877       -.63729E-06   -.19552E-03
  15  norm          19.348        12.937        .18358E-06    .54515E-02
  16  Prefactor     18.191        2.3787        .41461E-06   -.58376E-02
  17  Prefactor     .10358E-05    22.267        .70144E-05** at limit **
  18  Prefactor     6.5679        4.3998        .10004E-06    .26051E-02
  19  Prefactor     3.1352        2.3948        .11717E-05    .56539E-02
  20  Prefactor     3.1567        2.1651        .42005E-06    .24623E-02
  21  Prefactor     .37692E-06    46.766        .90891E-05** at limit **
  22  Prefactor     .77344E-06    29.255       -.13600E-04** at limit **
  23  Prefactor     23.236        2.6090       -.16187E-06    .15571E-01
  24  Normalizat    .74680        .18185       -.10331E-05    .16273E-03
  25  Prefactor     1.1871        .23184        .22908E-04    .13864E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.2917
  Prefactor  = 2.19474e-06
  Prefactor  = 5.55112e-10
  norm       = 2.41098
  Prefactor  = 2.77556e-10
  Prefactor  = 2.66454e-07
  norm       = 15.9233
  norm       = 0
  Prefactor  = 5.27008e-05
  Prefactor  = 3.01764e-06
  norm       = 0
  Prefactor  = 16.4713
  norm       = 2.11189
  norm       = 3.55392
  norm       = 19.3476
  Prefactor  = 18.1914
  Prefactor  = 1.03578e-06
  Prefactor  = 6.5679
  Prefactor  = 3.1352
  Prefactor  = 3.15673
  Prefactor  = 3.76921e-07
  Prefactor  = 7.73437e-07
  Prefactor  = 23.2364
  Normalizat = 0.746799
  Prefactor  = 1.18714
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.302     FROM HESSE     STATUS=OK           485 CALLS     2167 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.292        9.4518        .24784E-03   -1.5627    
   2  Prefactor     .21947E-05    16.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-09    7.9231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4110        2.0161        .65860E-03   -1.5677    
   5  Prefactor     .27756E-09    9.4277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .26645E-06    13.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.923        11.336        .24971E-03   -1.5628    
   8  norm           .0000        3.1943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .52701E-04    21.843        .11732E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30176E-05    14.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.471        59.152        .25197E-03   -1.5627    
  13  norm          2.1119        1.3248        .70983E-03   -1.5679    
  14  norm          3.5539        3.8308        .53470E-03   -1.5670    
  15  norm          19.348        12.985        .22866E-03   -1.5620    
  16  Prefactor     18.191        33.518        .23280E-03   -1.5623    
  17  Prefactor     .10358E-05    24.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.5679        4.5161        .39186E-03   -1.5657    
  19  Prefactor     3.1352        33.465        .55458E-03   -1.5673    
  20  Prefactor     3.1567        2.1783        .57024E-03   -1.5672    
  21  Prefactor     .37692E-06    47.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .77344E-06    31.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.236        19.542        .20558E-03   -1.5612    
  24  Normalizat    .74680        .16083        .42901E-01   -1.0207    
  25  Prefactor     1.1871        .19646        .56370E-01   -.86728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03216e-07
Minuit parameter uncertainties:
  1  9.45176
  2  0.011911
  3  0.000130223
  4  2.01606
  5  0.00010482
  6  0.00373462
  7  11.3357
  8  3.24424e-06
  9  0.0678568
  10  0.0134037
  11  1.04929e-05
  12  59.1536
  13  1.32481
  14  3.8308
  15  12.9847
  16  33.5182
  17  0.0100317
  18  4.51611
  19  20.4861
  20  2.17834
  21  0.00845339
  22  0.009826
  23  19.542
  24  0.160931
  25  0.196584
Done.

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

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  3.018e-06  1.340e-02  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.642e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  7.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.187e+00  1.966e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  7.468e-01  1.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.059 47.373
Photon Flux Upper Limit: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135118/likelihoodResults_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.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): 0
logL (Free Index) = 5703.33411032
delta logL = -0.0323579130109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5703.30175231
delta logL = 9.10049493541e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24092E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .86175       1.0000          .0000       10.000    
     3 'Normalizat'    .74682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1871       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5703.302     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      239 TOTAL
                     EDM=   .67E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .33401E-01    .42118E-03** at limit **
   2  Index         3.5245        7.3240        .44516        .15323E-10
   3  Normalizat    .74680        .24074E-03    .42912E-01    .41333E-03
   4  Prefactor     1.1871        .31348E-03    .56370E-01    .33786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.52447
  Normalizat = 0.746798
  Prefactor  = 1.18714
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.302     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .26304        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5245        7.4299        .50000       -.29957    
   3  Normalizat    .74680        .67365E-03    .11856E-02   -1.0207    
   4  Prefactor     1.1871        .87720E-03    .24926E-03   -.86728    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.72562e-13
Minuit parameter uncertainties:
  1  8.23795e-06
  2  63660.6
  3  0.000673645
  4  0.000877203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135118': 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) = 5703.3017523
delta logL = 1.01337718661e-07

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  5.551e-11  8.238e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  3.524e+00  6.366e+04  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  7.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.187e+00  8.772e-04  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  7.468e-01  6.736e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.059 47.373

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/135118/cmap_HighResolution_684115201_684374401_4FGL_J1332.2+4722_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2022-09-16 17:54:52.076648', job_id='135118', GAL2='1.19', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1663376092.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1716' AND source_name='4FGL J1332.2+4722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:54:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 135118: <4FGL_J1332.2+4722_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1332.2+4722_daily_bin1716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:19 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:41:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:41:31 2022
Terminated at Fri Sep 16 17:54:52 2022
Results reported at Fri Sep 16 17:54:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.2+4722_daily_bin1716 203.059 47.3728 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.2+4722 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.19 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             272.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            873 sec.

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

