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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1780
RA = 230.545, Dec = 31.7395
tmin = 700704001, tmax = 700963201
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='68038', job_status='RUN', time_executed='2023-03-20 01:13:50.407763', time_epoch_executed='1679300030.41' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68038

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68038/ft1_4FGL_J1522.1+3144_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68038/ft1_4FGL_J1522.1+3144_daily_bin1780.fits outfile=/scratch/kocevski/68038/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1780.fits ra=230.545 dec=31.7395 rad=12.0 tmin=700704001.0 tmax=700963201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.07
user 3.85
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.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/68038/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.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: 689

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/68038/ltcube_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits outfile=/scratch/kocevski/68038/expmap_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.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/68038/ltcube_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits
.....................!
real 190.72
user 185.94
sys 4.46

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/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.fits scfile=/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits outfile=/scratch/kocevski/68038/cmap_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.fits scfile=/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits outfile=/scratch/kocevski/68038/cmap_HighResolution_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.fits', '/scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits', expMap='/scratch/kocevski/68038/expmap_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits', expCube='/scratch/kocevski/68038/ltcube_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68038/Model_4FGL_J1522.1+3144_daily_bin1780.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/68038/ft1_filtered_4FGL_J1522.1+3144_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/68038/ft2_4FGL_J1522.1+3144_daily_bin1780.fits
Exposure map: /scratch/kocevski/68038/expmap_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits
Exposure cube: /scratch/kocevski/68038/ltcube_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68038/Model_4FGL_J1522.1+3144_daily_bin1780.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7673.0311441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14239E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .72183E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    162.02       1.0000          .0000       .10000E+07
     4 'norm      '    9.2008       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.420       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6085       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.261       1.0000          .0000       .10000E+07
     8 'norm      '    .87180       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16270E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0609       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.241       1.0000          .0000       .10000E+07
    12 'norm      '    1.3431       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13260E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14449E-03   1.0000          .0000       .10000E+07
    15 'norm      '    5.7716       1.0000          .0000       .10000E+07
    16 'Prefactor '    .91319E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13345E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17807E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14379E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0631       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .71977       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=   7664.744     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1050 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.0846        .13201E-06** at limit **
   2  norm           .0000        1.3564        .83134E-07** at limit **
   3  Prefactor     161.79        6.7166        .96141E-07    .20048    
   4  norm          9.2382        6.8948       -.53712E-07   -.63696E-04
   5  Prefactor     15.508        2.2223        .43832E-07   -.13565E-01
   6  Prefactor     4.5896        4.6505       -.26002E-07   -.36442E-03
   7  Prefactor     10.248        7.4765       -.81659E-08   -.13110E-02
   8  norm          .87293        1.1063        .42162E-07   -.22924E-02
   9  Prefactor     .11452E-06    23.224       -.12525E-05** at limit **
  10  Prefactor     .70289        200.37        .50431E-05   -.16587E-01
  11  Prefactor     22.148        20.395       -.60360E-06   -.83195E-01
  12  norm          1.3415        .90713       -.12340E-06    .35554E-02
  13  Prefactor     .25313E-07    20.133       -.13195E-06** at limit **
  14  Prefactor     .18319E-08    6.8866        .48207E-06** at limit **
  15  norm          5.7837        7.1304       -.12499E-08    .86175E-03
  16  Prefactor     .99920E-09    6.8971        .21834E-06** at limit **
  17  Prefactor     .33307E-09    4.9752       -.69921E-07** at limit **
  18  Prefactor     .55511E-10    .88977        .45086E-07** at limit **
  19  Prefactor     .17819E-07    6.6431       -.18264E-06** at limit **
  20  Normalizat    1.0629        .17335        .63200E-05   -.15542E-03
  21  Prefactor     .72027        .13740       -.20560E-05   -.13015E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 161.79
  norm       = 9.2382
  Prefactor  = 15.5079
  Prefactor  = 4.58957
  Prefactor  = 10.2481
  norm       = 0.872929
  Prefactor  = 1.1452e-07
  Prefactor  = 0.702887
  Prefactor  = 22.1479
  norm       = 1.34145
  Prefactor  = 2.53131e-08
  Prefactor  = 1.83187e-09
  norm       = 5.78366
  Prefactor  = 9.99201e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 1.78191e-08
  Normalizat = 1.06291
  Prefactor  = 0.720269
 **********
 **   18 **HESSE 
 **********

 FCN=   7664.744     FROM HESSE     STATUS=OK           371 CALLS     1421 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.3532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     161.79        46.060        .78570E-04   -1.5454    
   4  norm          9.2382        6.9688        .33017E-03   -1.5647    
   5  Prefactor     15.508        12.503        .25479E-03   -1.5629    
   6  Prefactor     4.5896        4.6782        .46862E-03   -1.5665    
   7  Prefactor     10.248        7.5226        .31255E-03   -1.5644    
   8  norm          .87293        1.1202        .47729E-03   -1.5689    
   9  Prefactor     .11452E-06    25.024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70289        332.85        .57959E-03   -1.5691    
  11  Prefactor     22.148        27.817        .22234E-03   -1.5614    
  12  norm          1.3415        .92730        .94496E-03   -1.5685    
  13  Prefactor     .25313E-07    20.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18319E-08    6.9870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7837        7.1538        .41783E-03   -1.5660    
  16  Prefactor     .99920E-09    .92264        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    5.0192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.4111        .11257E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17819E-07    1.5790        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0629        .15882        .39752E-01   -.90952    
  21  Prefactor     .72027        .12052        .42664E-01   -1.0274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37789e-07
Minuit parameter uncertainties:
  1  1.48277e-06
  2  1.76308e-06
  3  46.0598
  4  6.96884
  5  12.5027
  6  4.67819
  7  7.52258
  8  1.1202
  9  0.0033856
  10  30.5927
  11  27.8171
  12  0.927301
  13  0.0014283
  14  0.000227808
  15  7.15378
  16  6.07726e-05
  17  7.89683e-05
  18  4.22663e-05
  19  0.000335673
  20  0.158887
  21  0.120566
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.341e+00  9.273e-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:  7.203e-01  1.206e-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:  1.063e+00  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.38e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 9.53e-06

TS (Fixed Index): 3.75
Ra Dec: 230.545 31.739
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68038/likelihoodResults_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.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) = 7664.7367345
delta logL = 0.00709174538042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7664.73637608
delta logL = 0.00745016945166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3338       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2889       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0672       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71818       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.

 FCN=   7664.736     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      195 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3346        27.779        .94991E-03    .57723E-02
   2  alpha         2.2889        2.7033        .41338       -.88630E-05
   3  Normalizat    1.0671        .80889E-01    .39527E-01    .10434E-04
   4  Prefactor     .71826        .72312E-01    .42643E-01    .18056E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33456
  alpha      = 2.28894
  Normalizat = 1.0671
  Prefactor  = 0.718262
 **********
 **   18 **HESSE 
 **********

 FCN=   7664.736     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3346        .92645        .67333E-05   -1.5685    
   2  alpha         2.2889        .65264        .17942E-01   -.84525E-01
   3  Normalizat    1.0671        .17267        .23338E-03   -.90815    
   4  Prefactor     .71826        .13686        .22475E-03   -1.0282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44601e-13
Minuit parameter uncertainties:
  1  0.926453
  2  0.660349
  3  0.172764
  4  0.136921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68038': 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) = 7664.73637559
delta logL = 0.00745065444335

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.335e+00  9.265e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.289e+00  6.603e-01  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:  7.183e-01  1.369e-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:  1.067e+00  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.74
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.29 +/- 0.66
Photon Flux (Free Index): 4.06e-08 +/- 3.78e-08
Energy Flux (Free Index): 1.39e-05 +/- 9.82e-06

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/68038/cmap_HighResolution_700704001_700963201_4FGL_J1522.1+3144_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', comment='SUCCESS', photon_flux='4.38e-08', energy_flux2='1.39e-05', photon_flux_error='3.02e-08', dlogl='7.45e-03', energy_flux='1.38e-05', photon_flux2='4.06e-08', job_status='DONE', time_completed='2023-03-20 01:23:04.016816', photon_index_error2='0.66', photon_index2='2.29', ts='3.75', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='9.82e-06', EG='1.06', time_epoch_completed='1679300584.02', return_code='0', job_id='68038', GAL2='0.72', EG2='1.07', return_code2='0', energy_flux_error='9.53e-06', photon_flux_error2='3.78e-08', ts2='3.74', photon_index='2.37' WHERE bin_id='1780' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:23:04 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 68038: <4FGL_J1522.1+3144_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:10:16 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:10:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:10:17 2023
Terminated at Mon Mar 20 01:23:05 2023
Results reported at Mon Mar 20 01:23:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1780 230.545 31.7395 700704001 700963201 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            769 sec.

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

