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


Performing analysis on: 4FGL_J1332.2+4722_daily_bin1714
RA = 203.059, Dec = 47.3728
tmin = 683596801, tmax = 683856001
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='135115', job_status='RUN', time_executed='2022-09-16 17:41:50.570203', time_epoch_executed='1663375310.57' WHERE source_name='4FGL J1332.2+4722' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135115

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135115/ft1_4FGL_J1332.2+4722_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135115/ft2_4FGL_J1332.2+4722_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135115/ft1_4FGL_J1332.2+4722_daily_bin1714.fits outfile=/scratch/kocevski/135115/ft1_filteredMKT_4FGL_J1332.2+4722_daily_bin1714.fits ra=203.059 dec=47.3728 rad=12.0 tmin=683596801.0 tmax=683856001.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.49
user 3.24
sys 0.22

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

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

Number of photons that the gtmktime cut: 562

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135115/ft1_filtered_4FGL_J1332.2+4722_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/135115/ft2_4FGL_J1332.2+4722_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/135115/ltcube_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.fits outfile=/scratch/kocevski/135115/expmap_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.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/135115/ltcube_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.fits
.....................!
real 192.31
user 186.22
sys 5.59

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/135115/ft1_filtered_4FGL_J1332.2+4722_daily_bin1714.fits scfile=/scratch/kocevski/135115/ft2_4FGL_J1332.2+4722_daily_bin1714.fits outfile=/scratch/kocevski/135115/cmap_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135115/ft1_filtered_4FGL_J1332.2+4722_daily_bin1714.fits scfile=/scratch/kocevski/135115/ft2_4FGL_J1332.2+4722_daily_bin1714.fits outfile=/scratch/kocevski/135115/cmap_HighResolution_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.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/135115/ft1_filtered_4FGL_J1332.2+4722_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/135115/ft2_4FGL_J1332.2+4722_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135115/Model_4FGL_J1332.2+4722_daily_bin1714.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/135115/ft1_filtered_4FGL_J1332.2+4722_daily_bin1714.fits.....................!
real 50.37
user 49.02
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5808       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25629E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14751E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .96867E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .47808E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30418E-03   1.0000          .0000       .10000E+07
     7 'norm      '    20.011       1.0000          .0000       .10000E+07
     8 'norm      '    1.1653       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.861       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.7535       1.0000          .0000       .10000E+07
    11 'norm      '    .93422E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20394E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.1033       1.0000          .0000       .10000E+07
    14 'norm      '    .85082       1.0000          .0000       .10000E+07
    15 'norm      '    .17683E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    87.204       1.0000          .0000       .10000E+07
    17 'Prefactor '    .64438E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .12389E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17853E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.4383       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23353E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.2862       1.0000          .0000       .10000E+07
    23 'Prefactor '    .67802E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .72073       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2796       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=   6186.682     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2132 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5796        4.4818        .13411E-06    .34476E-03
   2  Prefactor     .55511E-10    4.9096       -.45133E-06** at limit **
   3  Prefactor     .23870E-08    9.0797       -.75918E-06** at limit **
   4  norm           .0000        2.0388       -.32448E-06** at limit **
   5  Prefactor     .65559E-06    8.2567        .48451E-06** at limit **
   6  Prefactor     .80547E-07    5.8470        .58045E-06** at limit **
   7  norm          20.012        1.5230       -.19069E-07   -.10534E-01
   8  norm          1.1585        4.0611       -.50147E-06   -.11717E-02
   9  Prefactor     27.094        14.816        .39221E-06    .92293E-01
  10  Prefactor     8.1557        22.907       -.50372E-06   -.49539E-01
  11  norm           .0000        5.1800       -.32079E-06** at limit **
  12  Prefactor     .24110E-05    14.865       -.79120E-06** at limit **
  13  norm          1.1037        1.1107       -.14028E-06   -.21433E-02
  14  norm          .80845        2.6635       -.12376E-06   -.64682E-04
  15  norm          .32752E-08    7.2229        .18969E-06** at limit **
  16  Prefactor     87.075        9.3982        .40757E-07   -.14522    
  17  Prefactor     .13442E-05    18.403        .85239E-07** at limit **
  18  Prefactor      .0000        1.2090        .26789E-06** at limit **
  19  Prefactor     .39135E-06    2.9206       -.32356E-08** at limit **
  20  Prefactor     2.4453        2.1828       -.16686E-06   -.11763E-02
  21  Prefactor     .69833E-07    10.362       -.17969E-06** at limit **
  22  Prefactor     .89171        499.53       -.77266E-05    .14774E-01
  23  Prefactor     .96645E-07    5.5404       -.24658E-06** at limit **
  24  Normalizat    .72124        .17962        .10261E-05    .10306E-03
  25  Prefactor     1.2802        .23623        .42332E-05    .91746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.57959
  Prefactor  = 5.55112e-11
  Prefactor  = 2.38698e-09
  norm       = 0
  Prefactor  = 6.55587e-07
  Prefactor  = 8.05467e-08
  norm       = 20.0123
  norm       = 1.15852
  Prefactor  = 27.0941
  Prefactor  = 8.15569
  norm       = 0
  Prefactor  = 2.41102e-06
  norm       = 1.10375
  norm       = 0.808451
  norm       = 3.27516e-09
  Prefactor  = 87.0754
  Prefactor  = 1.3442e-06
  Prefactor  = 0
  Prefactor  = 3.91354e-07
  Prefactor  = 2.44526
  Prefactor  = 6.9833e-08
  Prefactor  = 0.891709
  Prefactor  = 9.66449e-08
  Normalizat = 0.721241
  Prefactor  = 1.28023
 **********
 **   18 **HESSE 
 **********

 FCN=   6186.682     FROM HESSE     STATUS=OK           471 CALLS     2603 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5796        4.4915        .53380E-03   -1.5670    
   2  Prefactor     .55511E-10    4.9215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .23870E-08    9.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.9917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .65559E-06    14.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .80547E-07    6.6004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.012        14.448        .22362E-03   -1.5618    
   8  norm          1.1585        4.1966        .10649E-02   -1.5686    
   9  Prefactor     27.094        38.312        .19298E-03   -1.5604    
  10  Prefactor     8.1557        52.824        .33855E-03   -1.5651    
  11  norm           .0000        5.1315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24110E-05    18.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1037        1.1515        .11289E-02   -1.5687    
  14  norm          .80845        2.6779        .49221E-03   -1.5690    
  15  norm          .32752E-08    15.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     87.075        51.171        .10709E-03   -1.5521    
  17  Prefactor     .13442E-05    20.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.2139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .39135E-06    6.8369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4453        2.2416        .65498E-03   -1.5677    
  21  Prefactor     .69833E-07    10.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .89171        654.45        .67868E-03   -1.5689    
  23  Prefactor     .96645E-07    7.1064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .72124        .15027        .42567E-01   -1.0306    
  25  Prefactor     1.2802        .19486        .54305E-01   -.83897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79834e-06
Minuit parameter uncertainties:
  1  4.49152
  2  2.6586e-05
  3  0.000298879
  4  7.81248e-06
  5  0.00621637
  6  0.00145809
  7  14.4481
  8  4.19662
  9  38.3119
  10  41.5126
  11  1.7875e-06
  12  0.0132955
  13  1.15145
  14  2.67791
  15  0.000450057
  16  51.1716
  17  0.0104936
  18  5.223e-06
  19  0.00327142
  20  2.24163
  21  0.00173431
  22  48.3202
  23  0.00165739
  24  0.150358
  25  0.194972
Done.

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

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  8.156e+00  4.151e+01  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.280e+00  1.950e-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.212e-01  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/135115/likelihoodResults_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.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) = 6186.68226786
delta logL = 5.64506444789e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6186.68226722
delta logL = 6.28945053904e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1557       1.0000          .0000       .10000E+07
     2 'Index     '    2.6462       1.0000          .0000       10.000    
     3 'Normalizat'    .72122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2802       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=   6186.682     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      247 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1278        38.319        .14033E-04    .27750E-02
   2  Index         2.6474        1.5521        .10854E-01    .21775E-03
   3  Normalizat    .72119        .17974        .23776E-03   -.10682E-03
   4  Prefactor     1.2803        .23425        .24011E-03    .34908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.12778
  Index      = 2.64738
  Normalizat = 0.721187
  Prefactor  = 1.28027
 **********
 **   18 **HESSE 
 **********

 FCN=   6186.682     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1278        34.814        .28066E-05   -1.5651    
   2  Index         2.6474        1.4826        .43416E-03   -.48989    
   3  Normalizat    .72119        .17999        .95104E-05   -1.0306    
   4  Prefactor     1.2803        .23447        .48022E-04   -.83895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88163e-09
Minuit parameter uncertainties:
  1  33.6433
  2  1.51201
  3  0.180143
  4  0.234659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135115': 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) = 6186.68226677
delta logL = 6.73593149259e-06

Extracting fit parameters...

4FGL J1332.2+4722
   Spectrum: PowerLaw
357    Prefactor:  8.128e+00  3.364e+01  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.647e+00  1.512e+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:  1.280e+00  2.347e-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.212e-01  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/135115/cmap_HighResolution_683596801_683856001_4FGL_J1332.2+4722_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2022-09-16 17:53:15.708940', job_id='135115', GAL2='1.28', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1663375995.71', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='6.74e-06', ts2='0.07', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1714' AND source_name='4FGL J1332.2+4722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:53:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 135115: <4FGL_J1332.2+4722_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1332.2+4722_daily_bin1714> 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) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:41:29 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:29 2022
Terminated at Fri Sep 16 17:53:16 2022
Results reported at Fri Sep 16 17:53:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.2+4722_daily_bin1714 203.059 47.3728 683596801 683856001 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 :                                   684.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             332.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            777 sec.

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

