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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1772
RA = 230.545, Dec = 31.7395
tmin = 698630401, tmax = 698889601
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='639372', job_status='RUN', time_executed='2023-02-24 02:07:18.845138', time_epoch_executed='1677233238.85' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639372/ft1_4FGL_J1522.1+3144_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639372/ft1_4FGL_J1522.1+3144_daily_bin1772.fits outfile=/scratch/kocevski/639372/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1772.fits ra=230.545 dec=31.7395 rad=12.0 tmin=698630401.0 tmax=698889601.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.99
user 2.81
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.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/639372/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.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.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 822

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/639372/ltcube_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.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/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits
.....................!
real 12.49
user 12.17
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/639372/ltcube_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits outfile=/scratch/kocevski/639372/expmap_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.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/639372/ltcube_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits
.....................!
real 189.79
user 184.74
sys 4.75

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1522.1+3144 @ 230.545 31.7395

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits outfile=/scratch/kocevski/639372/cmap_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.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=230.545 yref=31.7395 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits outfile=/scratch/kocevski/639372/cmap_HighResolution_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.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=230.545 yref=31.7395 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639372/Model_4FGL_J1522.1+3144_daily_bin1772.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/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits.....................!
real 63.13
user 61.90
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits', '/scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits', expMap='/scratch/kocevski/639372/expmap_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits', expCube='/scratch/kocevski/639372/ltcube_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639372/Model_4FGL_J1522.1+3144_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1522.1+3144'

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  8.555e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/639372/ft1_filtered_4FGL_J1522.1+3144_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/639372/ft2_4FGL_J1522.1+3144_daily_bin1772.fits
Exposure map: /scratch/kocevski/639372/expmap_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits
Exposure cube: /scratch/kocevski/639372/ltcube_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639372/Model_4FGL_J1522.1+3144_daily_bin1772.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) = 8954.75500247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83633E-03   1.0000          .0000       .10000E+07
     2 'norm      '    4.0477       1.0000          .0000       .10000E+07
     3 'Prefactor '    238.70       1.0000          .0000       .10000E+07
     4 'norm      '    .14894E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    18.697       1.0000          .0000       .10000E+07
     6 'Prefactor '    .59549E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4093       1.0000          .0000       .10000E+07
     8 'norm      '    1.6712       1.0000          .0000       .10000E+07
     9 'Prefactor '    .31363E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
    11 'Prefactor '    24.612       1.0000          .0000       .10000E+07
    12 'norm      '    .48487       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.5484       1.0000          .0000       .10000E+07
    14 'Prefactor '    .81508E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .18442E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25430E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55720E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11022E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10320E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77733       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1393       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8954.705     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1341 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.8344        .52785E-07** at limit **
   2  norm          4.0526        3.8736       -.61704E-07   -.97034E-04
   3  Prefactor     238.94        15.789        .41478E-07   -.21064    
   4  norm           .0000        2.0364        .11243E-06** at limit **
   5  Prefactor     18.749        8.3276        .34371E-08   -.14609    
   6  Prefactor     .74385E-08    12.300        .64330E-06** at limit **
   7  Prefactor     2.3578        4.7724       -.14902E-06   -.39080E-03
   8  norm          1.6705        1.1822       -.88471E-07   -.24543E-02
   9  Prefactor     .10547E-07    41.227       -.34778E-06** at limit **
  10  Prefactor     3.4777        8.0338        .10536E-06    .45538E-01
  11  Prefactor     24.673        4.4247        .23220E-07    .87420E-01
  12  norm          .48456        .78835       -.12468E-06   -.31773E-02
  13  Prefactor     6.5612        6.1288        .43036E-07    .12282E-03
  14  Prefactor     .30032E-07    9.2962        .39781E-06** at limit **
  15  norm          .94369E-09    6.7985       -.26409E-07** at limit **
  16  Prefactor      .0000        1.3074        .29558E-07** at limit **
  17  Prefactor     .38858E-09    4.3015       -.90702E-07** at limit **
  18  Prefactor     .19884E-06    55.892       -.82688E-06** at limit **
  19  Prefactor      .0000        1.2678       -.63328E-07** at limit **
  20  Normalizat    .77688        .17706       -.31773E-05    .91040E-04
  21  Prefactor     1.1396        .14579        .49376E-05    .20122E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 4.05259
  Prefactor  = 238.941
  norm       = 0
  Prefactor  = 18.749
  Prefactor  = 7.43849e-09
  Prefactor  = 2.35779
  norm       = 1.67047
  Prefactor  = 1.05471e-08
  Prefactor  = 3.47772
  Prefactor  = 24.6732
  norm       = 0.484558
  Prefactor  = 6.56123
  Prefactor  = 3.00315e-08
  norm       = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 1.98841e-07
  Prefactor  = 0
  Normalizat = 0.776883
  Prefactor  = 1.13962
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.705     FROM HESSE     STATUS=OK           357 CALLS     1698 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.8256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0526        3.8858        .50094E-03   -1.5668    
   3  Prefactor     238.94        49.756        .64733E-04   -1.5399    
   4  norm           .0000        2.0424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.749        12.685        .23136E-03   -1.5621    
   6  Prefactor     .74385E-08    12.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3578        4.7910        .65929E-03   -1.5677    
   8  norm          1.6705        1.1823        .81511E-03   -1.5682    
   9  Prefactor     .10547E-07    43.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4777        12.703        .54021E-03   -1.5671    
  11  Prefactor     24.673        15.457        .20161E-03   -1.5609    
  12  norm          .48456        .82498        .80246E-03   -1.5694    
  13  Prefactor     6.5612        6.2683        .39193E-03   -1.5657    
  14  Prefactor     .30032E-07    9.4108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .94369E-09    6.8002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.2968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    4.3028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19884E-06    61.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.2576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77688        .15507        .64892E-01   -1.0093    
  21  Prefactor     1.1396        .12558        .36253E-01   -.88210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1122e-07
Minuit parameter uncertainties:
  1  1.91185e-05
  2  3.88576
  3  49.756
  4  1.31521e-05
  5  12.6846
  6  0.000603229
  7  4.79104
  8  1.18231
  9  0.00135609
  10  12.7028
  11  15.4566
  12  0.824975
  13  6.26826
  14  0.0010632
  15  0.000159645
  16  2.90926e-06
  17  8.29562e-05
  18  0.00701542
  19  1.83634e-06
  20  0.15516
  21  0.125616
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  4.846e-01  8.250e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.140e+00  1.256e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.769e-01  1.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 230.545 31.739
Photon Flux Upper Limit: 6.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639372/likelihoodResults_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.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) = 8954.64143068
delta logL = 0.0635944375663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8954.63964221
delta logL = 0.0653829123639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45866       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7748       1.0000          .0000       5.0000    
     3 'Normalizat'    .76891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+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=   8954.640     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      255 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45801        .68495        .82348E-05    .20736E-02
   2  alpha         2.7737        1.1386        .16588E-02   -.10554E-05
   3  Normalizat    .76854        .17224        .28849E-03    .66835E-04
   4  Prefactor     1.1438        .14461        .20377E-03   -.87593E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.458007
  alpha      = 2.7737
  Normalizat = 0.76854
  Prefactor  = 1.14381
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.640     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45801        .68095        .32939E-06   -1.5694    
   2  alpha         2.7737        1.1325        .66352E-04    .10970    
   3  Normalizat    .76854        .17240        .11540E-04   -1.0125    
   4  Prefactor     1.1438        .14474        .40754E-04   -.88078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97131e-11
Minuit parameter uncertainties:
  1  0.680952
  2  1.17589
  3  0.172518
  4  0.144785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639372': 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) = 8954.63963738
delta logL = 0.0653877430759

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  4.580e-01  6.810e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.774e+00  1.176e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.148e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.144e+00  1.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.685e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 230.545 31.739

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/639372/cmap_HighResolution_698630401_698889601_4FGL_J1522.1+3144_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-05', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2023-02-24 02:17:41.178407', job_id='639372', GAL2='1.14', fit_tolerance='1e-08', EG2='0.77', EG='0.78', time_epoch_completed='1677233861.18', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='6.54e-02', ts2='0.68', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1772' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:17:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 639372: <4FGL_J1522.1+3144_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1772> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb 24 02:05:19 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 02:05:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 02:05:20 2023
Terminated at Fri Feb 24 02:17:42 2023
Results reported at Fri Feb 24 02:17:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1772 230.545 31.7395 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1522.1+3144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   624.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

