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


Performing analysis on: 4FGL_J1332.2+4722_daily_bin1762
RA = 203.059, Dec = 47.3728
tmin = 696038401, tmax = 696297601
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='110557', job_status='RUN', time_executed='2023-01-25 01:02:27.886321', time_epoch_executed='1674637347.89' WHERE source_name='4FGL J1332.2+4722' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110557/ft1_4FGL_J1332.2+4722_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110557/ft1_4FGL_J1332.2+4722_daily_bin1762.fits outfile=/scratch/kocevski/110557/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1762.fits ra=203.059 dec=47.3728 rad=12.0 tmin=696038401.0 tmax=696297601.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.71
user 3.44
sys 0.19

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

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

Number of photons that the gtmktime cut: 487

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110557/ft1_filtered_4FGL_J1332.2+4722_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110557/ltcube_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.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/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits
.....................!
real 13.78
user 13.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110557/ft1_filtered_4FGL_J1332.2+4722_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110557/ltcube_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.fits outfile=/scratch/kocevski/110557/expmap_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.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/110557/ltcube_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.fits
.....................!
real 193.78
user 186.64
sys 4.88

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/110557/ft1_filtered_4FGL_J1332.2+4722_daily_bin1762.fits scfile=/scratch/kocevski/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits outfile=/scratch/kocevski/110557/cmap_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110557/ft1_filtered_4FGL_J1332.2+4722_daily_bin1762.fits scfile=/scratch/kocevski/110557/ft2_4FGL_J1332.2+4722_daily_bin1762.fits outfile=/scratch/kocevski/110557/cmap_HighResolution_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50223E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13340E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .32930E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.5583       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46872E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.9159       1.0000          .0000       .10000E+07
     7 'norm      '    .23737E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .25665       1.0000          .0000       .10000E+07
     9 'Prefactor '    50.054       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19631E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .37312E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    40.731       1.0000          .0000       .10000E+07
    13 'norm      '    3.1268       1.0000          .0000       .10000E+07
    14 'norm      '    8.9730       1.0000          .0000       .10000E+07
    15 'norm      '    20.461       1.0000          .0000       .10000E+07
    16 'Prefactor '    .78443E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    31.518       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.3918       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42391E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .12768E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .40655E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .66672E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    9.0389       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0541       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73412       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=   5466.071     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     2089 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.2245        .19481E-06** at limit **
   2  Prefactor     .44170E-06    8.9201       -.67306E-06** at limit **
   3  Prefactor     .37192E-08    6.1375       -.25581E-06** at limit **
   4  norm          4.5568        2.4488       -.20326E-06    .84995E-03
   5  Prefactor     .53363E-06    5.1741        .83986E-06** at limit **
   6  Prefactor     3.7609        2.0657        .98054E-07    .52301E-02
   7  norm          .42744E-08    6.2038       -.41981E-06** at limit **
   8  norm          .26665        6.3482       -.44359E-05   -.13284E-02
   9  Prefactor     50.909        23.628        .11220E-06    .21836    
  10  Prefactor     .58671E-05    21.067        .22496E-05** at limit **
  11  norm           .0000        1.2811       -.29831E-06** at limit **
  12  Prefactor     41.273        32.214        .18011E-05   -.15939    
  13  norm          3.1248        1.6323       -.34141E-06   -.23397E-02
  14  norm          8.9645        4.4296       -.25087E-06    .47955E-02
  15  norm          20.425        1.3753        .11606E-06    .26198E-01
  16  Prefactor     .41911E-07    13.600        .29685E-06** at limit **
  17  Prefactor     30.924        25.600       -.13353E-05   -.18245E-01
  18  Prefactor     3.4060        3.6660        .79614E-07   -.11696E-04
  19  Prefactor     .37531E-06    16.833        .26836E-05** at limit **
  20  Prefactor      .0000        .71190       -.14258E-06** at limit **
  21  Prefactor     .55511E-10    8.0833       -.79661E-06** at limit **
  22  Prefactor     .41737E-05    12.860       -.12431E-05** at limit **
  23  Prefactor     9.0459        2.0559       -.13945E-06   -.68902E-01
  24  Normalizat    1.0538        .18634        .85918E-05   -.32808E-04
  25  Prefactor     .73425        .22367        .11522E-05   -.29526E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 4.41702e-07
  Prefactor  = 3.71925e-09
  norm       = 4.55678
  Prefactor  = 5.33629e-07
  Prefactor  = 3.7609
  norm       = 4.27436e-09
  norm       = 0.266651
  Prefactor  = 50.9089
  Prefactor  = 5.86714e-06
  norm       = 0
  Prefactor  = 41.2731
  norm       = 3.12478
  norm       = 8.96451
  norm       = 20.425
  Prefactor  = 4.19109e-08
  Prefactor  = 30.9241
  Prefactor  = 3.40598
  Prefactor  = 3.75311e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 4.17372e-06
  Prefactor  = 9.04591
  Normalizat = 1.05376
  Prefactor  = 0.734251
 **********
 **   18 **HESSE 
 **********

 FCN=   5466.071     FROM HESSE     STATUS=OK           477 CALLS     2566 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.2282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44170E-06    24.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .37192E-08    6.1764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.5568        2.4593        .47126E-03   -1.5665    
   5  Prefactor     .53363E-06    30.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7609        34.347        .50958E-03   -1.5669    
   7  norm          .42744E-08    6.2311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26665        2.7962        .38485E-02   -1.5698    
   9  Prefactor     50.909        34.695        .14136E-03   -1.5565    
  10  Prefactor     .58671E-05    27.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.2763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     41.273        55.433        .15670E-03   -1.5579    
  13  norm          3.1248        1.6380        .57310E-03   -1.5673    
  14  norm          8.9645        4.4804        .33436E-03   -1.5648    
  15  norm          20.425        15.918        .22114E-03   -1.5618    
  16  Prefactor     .41911E-07    13.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.924        44.753        .17815E-03   -1.5597    
  18  Prefactor     3.4060        3.7374        .54912E-03   -1.5671    
  19  Prefactor     .37531E-06    17.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .71094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    8.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .41737E-05    23.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.0459        12.213        .33313E-03   -1.5648    
  24  Normalizat    1.0538        .16635        .40291E-01   -.91251    
  25  Prefactor     .73425        .19384        .67490E-01   -1.0220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49823e-06
Minuit parameter uncertainties:
  1  1.0644e-05
  2  0.00658357
  3  0.000302552
  4  2.45928
  5  0.00800702
  6  22.7313
  7  0.000327293
  8  1.72696
  9  34.6953
  10  0.0256132
  11  3.16383e-06
  12  55.4333
  13  1.63795
  14  4.48044
  15  15.9183
  16  0.0015131
  17  44.7531
  18  3.73737
  19  0.00506814
  20  3.97507e-06
  21  3.76618e-05
  22  0.0196506
  23  12.2127
  24  0.166429
  25  0.194021
Done.

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

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  5.867e-06  2.561e-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:  7.343e-01  1.940e-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.054e+00  1.664e-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: 7.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110557/likelihoodResults_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.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) = 5466.0880155
delta logL = -0.0174794583754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5466.07053704
delta logL = -9.99355506792e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1446       1.0000          .0000       10.000    
     3 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73403       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=   5466.071     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      205 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24425E-08    26.014       -.62365E-05** at limit **
   2  Index         2.7203        6.3187        .28537E-03    .17741E-09
   3  Normalizat    1.0538        .18325        .32140E-04    .19312E-03
   4  Prefactor     .73425        .22134       -.58732E-06    .15317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44249e-09
  Index      = 2.72034
  Normalizat = 1.05376
  Prefactor  = 0.734252
 **********
 **   18 **HESSE 
 **********

 FCN=   5466.071     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      240 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24425E-08    1.4449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7203        8.4898        .36094       -.47342    
   3  Normalizat    1.0538        .93241E-03    .40308E-01   -.91251    
   4  Prefactor     .73425        .11306E-02    .67490E-01   -1.0220    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.91466e-12
Minuit parameter uncertainties:
  1  0.000118968
  2  15762.2
  3  0.000932413
  4  0.00113065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110557': 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) = 5466.07053593
delta logL = 1.04777427623e-07

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  2.442e-09  1.190e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.720e+00  1.576e+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:  7.343e-01  1.131e-03  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.054e+00  9.324e-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/110557/cmap_HighResolution_696038401_696297601_4FGL_J1332.2+4722_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-03', job_status='DONE', photon_flux_upper_limit='7.03e-08', time_completed='2023-01-25 01:13:07.851609', job_id='110557', GAL2='0.73', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1674637987.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1762' AND source_name='4FGL J1332.2+4722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:13:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 110557: <4FGL_J1332.2+4722_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1332.2+4722_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:26 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:50 2023
Terminated at Wed Jan 25 01:13:08 2023
Results reported at Wed Jan 25 01:13:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.2+4722_daily_bin1762 203.059 47.3728 696038401 696297601 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 :                                   636.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            762 sec.

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

