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 80 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_J1332.2+4722_daily_bin1744
RA = 203.059, Dec = 47.3728
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='582270', job_status='RUN', time_executed='2022-12-02 01:06:44.935530', time_epoch_executed='1669972004.94' WHERE source_name='4FGL J1332.2+4722' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582270

Creating custom pfile directory:
/scratch/kocevski/582270/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/582270/ft1_4FGL_J1332.2+4722_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/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582270/ft1_4FGL_J1332.2+4722_daily_bin1744.fits outfile=/scratch/kocevski/582270/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1744.fits ra=203.059 dec=47.3728 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 2.51
user 2.31
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_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/582270/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_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 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 829

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/582270/ltcube_691372801_691632001_4FGL_J1332.2+4722_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/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits
.....................!
real 13.08
user 12.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/582270/ltcube_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits outfile=/scratch/kocevski/582270/expmap_691372801_691632001_4FGL_J1332.2+4722_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/582270/ltcube_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits
.....................!
real 193.31
user 187.67
sys 4.98

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/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits outfile=/scratch/kocevski/582270/cmap_691372801_691632001_4FGL_J1332.2+4722_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=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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits outfile=/scratch/kocevski/582270/cmap_HighResolution_691372801_691632001_4FGL_J1332.2+4722_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=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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/582270/Model_4FGL_J1332.2+4722_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 GAL_V02
Working on...
/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits.....................!
real 68.74
user 67.34
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits', '/scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits', expMap='/scratch/kocevski/582270/expmap_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits', expCube='/scratch/kocevski/582270/ltcube_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/582270/Model_4FGL_J1332.2+4722_daily_bin1744.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/582270/ft1_filtered_4FGL_J1332.2+4722_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/582270/ft2_4FGL_J1332.2+4722_daily_bin1744.fits
Exposure map: /scratch/kocevski/582270/expmap_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits
Exposure cube: /scratch/kocevski/582270/ltcube_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/582270/Model_4FGL_J1332.2+4722_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) = 9041.63346727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36177E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .42823E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.1933       1.0000          .0000       .10000E+07
     5 'Prefactor '    10.587       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47796E-03   1.0000          .0000       .10000E+07
     7 'norm      '    3.6289       1.0000          .0000       .10000E+07
     8 'norm      '    .44642E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65844E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .75445E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.668       1.0000          .0000       .10000E+07
    13 'norm      '    .50515E-08   1.0000          .0000       .10000E+07
    14 'norm      '    .66329       1.0000          .0000       .10000E+07
    15 'norm      '    .33062E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.0747       1.0000          .0000       .10000E+07
    17 'Prefactor '    .64062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .31757E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .28101E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.7873       1.0000          .0000       .10000E+07
    21 'Prefactor '    .40893E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    29.013       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.3205       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0802       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92149       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=   9041.622     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     2117 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18818E-07    6.4203        .48563E-06** at limit **
   2  Prefactor     .19984E-08    3.9963       -.45319E-06** at limit **
   3  Prefactor     .11333E-05    7.8017        .15938E-06** at limit **
   4  norm          4.1923        2.0400        .21832E-07   -.99517E-04
   5  Prefactor     10.563        8.3501        .42654E-06    .12332E-02
   6  Prefactor     .49405E-08    4.7677        .52232E-06** at limit **
   7  norm          3.6350        1.9402       -.10730E-06    .11779E-02
   8  norm          .56174E-05    4.1798       -.28028E-06** at limit **
   9  Prefactor     17.314        6.5911       -.12109E-06    .22481E-01
  10  Prefactor     .18316E-05    11.897        .51038E-06** at limit **
  11  norm          .11102E-09    1.2176       -.19287E-06** at limit **
  12  Prefactor     18.133        43.752       -.40105E-06    .11157E-01
  13  norm           .0000        .25237       -.91037E-07** at limit **
  14  norm          .66904        2.2377       -.55360E-07   -.18130E-03
  15  norm          .68057E-07    6.0121       -.81044E-06** at limit **
  16  Prefactor     2.0093        1.2879       -.47847E-07    .33664E-02
  17  Prefactor     .15377E-07    19.666        .52676E-06** at limit **
  18  Prefactor     .75107E-07    5.6519        .50061E-06** at limit **
  19  Prefactor     .43798E-07    5.2050       -.10166E-05** at limit **
  20  Prefactor     1.7869        1.4768        .25573E-06    .10618E-02
  21  Prefactor     .62728E-08    11.796       -.21732E-08** at limit **
  22  Prefactor     29.075        6.4324        .40695E-07    .13340E-01
  23  Prefactor     6.3134        2.2736        .74638E-07    .16009E-01
  24  Normalizat    1.0807        .15029       -.41498E-05   -.20021E-04
  25  Prefactor     .92129        .18383        .41275E-05   -.17737E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88183e-08
  Prefactor  = 1.9984e-09
  Prefactor  = 1.13332e-06
  norm       = 4.19231
  Prefactor  = 10.5626
  Prefactor  = 4.94049e-09
  norm       = 3.63502
  norm       = 5.6174e-06
  Prefactor  = 17.3137
  Prefactor  = 1.83165e-06
  norm       = 1.11022e-10
  Prefactor  = 18.133
  norm       = 0
  norm       = 0.669039
  norm       = 6.80567e-08
  Prefactor  = 2.00932
  Prefactor  = 1.53766e-08
  Prefactor  = 7.51066e-08
  Prefactor  = 4.37983e-08
  Prefactor  = 1.78694
  Prefactor  = 6.27276e-09
  Prefactor  = 29.0746
  Prefactor  = 6.31336
  Normalizat = 1.08072
  Prefactor  = 0.921289
 **********
 **   18 **HESSE 
 **********

 FCN=   9041.622     FROM HESSE     STATUS=OK           479 CALLS     2596 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18818E-07    6.4889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19984E-08    7.3996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11333E-05    20.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1923        2.0459        .49190E-03   -1.5667    
   5  Prefactor     10.563        8.3649        .30768E-03   -1.5643    
   6  Prefactor     .49405E-08    4.7905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6350        12.595        .53010E-03   -1.5670    
   8  norm          .56174E-05    1.4298        .62000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.314        23.741        .24018E-03   -1.5625    
  10  Prefactor     .18316E-05    17.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    1.2141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.133        45.104        .23153E-03   -1.5623    
  13  norm           .0000        .25135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66904        2.2532        .63740E-03   -1.5692    
  15  norm          .68057E-07    6.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0093        70.814        .71680E-03   -1.5680    
  17  Prefactor     .15377E-07    23.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .75107E-07    7.3595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .43798E-07    7.6804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7869        1.5045        .78221E-03   -1.5681    
  21  Prefactor     .62728E-08    11.826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.075        46.173        .18568E-03   -1.5600    
  23  Prefactor     6.3134        12.139        .39902E-03   -1.5658    
  24  Normalizat    1.0807        .13030        .38868E-01   -.90373    
  25  Prefactor     .92129        .15913        .45278E-01   -.95401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49898e-07
Minuit parameter uncertainties:
  1  0.000699105
  2  0.000244079
  3  0.00952596
  4  2.04591
  5  8.36494
  6  0.000307201
  7  12.5954
  8  0.00566804
  9  23.7415
  10  0.0114091
  11  2.57858e-05
  12  45.1047
  13  3.23173e-07
  14  2.25324
  15  0.00131559
  16  23.8571
  17  0.00119633
  18  0.00148702
  19  0.00115993
  20  1.50445
  21  0.000543908
  22  46.1733
  23  12.1387
  24  0.130338
  25  0.159212
Done.

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

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  1.832e-06  1.141e-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:  9.213e-01  1.592e-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:  1.081e+00  1.303e-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: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/582270/likelihoodResults_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.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) = 9041.60050873
delta logL = 0.0211313051805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9041.56726486
delta logL = 0.0543751730656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37432       1.0000          .0000       .10000E+07
     2 'Index     '    4.7119       1.0000          .0000       10.000    
     3 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93160       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9041.567     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      339 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37339        160.47        .16412E-03    .48981E-02
   2  Index         4.7135        7.5871        .70108E-02    .59642E-05
   3  Normalizat    1.0669        .86275E-01    .20804E-03    .11640E-03
   4  Prefactor     .93161        .10141        .27524E-03    .87648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.373385
  Index      = 4.71354
  Normalizat = 1.0669
  Prefactor  = 0.931606
 **********
 **   18 **HESSE 
 **********

 FCN=   9041.567     FROM HESSE     STATUS=OK            27 CALLS      366 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37339        5.3700        .65648E-05   -1.5696    
   2  Index         4.7135        3.6144        .28043E-03   -.57324E-01
   3  Normalizat    1.0669        .15221        .83218E-05   -.90822    
   4  Prefactor     .93161        .18581        .11010E-04   -.95045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95703e-12
Minuit parameter uncertainties:
  1  2.83201
  2  4.04175
  3  0.15227
  4  0.185933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582270': 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) = 9041.56726477
delta logL = 0.0543752717786

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  3.734e-01  2.832e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  4.714e+00  4.042e+00  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:  9.316e-01  1.859e-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:  1.067e+00  1.523e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/582270/cmap_HighResolution_691372801_691632001_4FGL_J1332.2+4722_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2022-12-02 01:20:50.126478', job_id='582270', GAL2='0.93', fit_tolerance='1e-08', EG2='1.07', EG='1.08', time_epoch_completed='1669972850.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.44e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1744' AND source_name='4FGL J1332.2+4722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:20:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 582270: <4FGL_J1332.2+4722_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1332.2+4722_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:05:13 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:05:14 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:05:14 2022
Terminated at Fri Dec  2 01:20:51 2022
Results reported at Fri Dec  2 01:20:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.2+4722_daily_bin1744 203.059 47.3728 691372801 691632001 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 :                                   847.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

