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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1755
RA = 230.545, Dec = 31.7395
tmin = 694224001, tmax = 694483201
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='826885', job_status='RUN', time_executed='2023-01-04 01:13:25.232174', time_epoch_executed='1672823605.23' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826885/ft1_4FGL_J1522.1+3144_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826885/ft1_4FGL_J1522.1+3144_daily_bin1755.fits outfile=/scratch/kocevski/826885/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1755.fits ra=230.545 dec=31.7395 rad=12.0 tmin=694224001.0 tmax=694483201.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.00
user 2.77
sys 0.23

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

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

Number of photons that the gtmktime cut: 1041

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/826885/ltcube_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.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/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits
.....................!
real 15.69
user 15.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/826885/ltcube_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits outfile=/scratch/kocevski/826885/expmap_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.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/826885/ltcube_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits
.....................!
real 192.27
user 186.43
sys 5.47

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/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits scfile=/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits outfile=/scratch/kocevski/826885/cmap_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits scfile=/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits outfile=/scratch/kocevski/826885/cmap_HighResolution_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits', '/scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits', expMap='/scratch/kocevski/826885/expmap_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits', expCube='/scratch/kocevski/826885/ltcube_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/826885/Model_4FGL_J1522.1+3144_daily_bin1755.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/826885/ft1_filtered_4FGL_J1522.1+3144_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/826885/ft2_4FGL_J1522.1+3144_daily_bin1755.fits
Exposure map: /scratch/kocevski/826885/expmap_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits
Exposure cube: /scratch/kocevski/826885/ltcube_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/826885/Model_4FGL_J1522.1+3144_daily_bin1755.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) = 11182.0730746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1858       1.0000          .0000       .10000E+07
     2 'norm      '    .31746       1.0000          .0000       .10000E+07
     3 'Prefactor '    85.325       1.0000          .0000       .10000E+07
     4 'norm      '    .23641E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7593       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10595E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28418E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .46193       1.0000          .0000       .10000E+07
     9 'Prefactor '    .81636E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.525       1.0000          .0000       .10000E+07
    11 'Prefactor '    .94944E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .23572       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40576E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .73194E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.7239       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8809       1.0000          .0000       .10000E+07
    17 'Prefactor '    .28790E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .25072E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16761E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0783       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97968       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=   11181.92     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1697 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1629        3.8090       -.22778E-07    .21568E-03
   2  norm          .33366        4.5266        .14481E-06   -.28132E-03
   3  Prefactor     86.887        33.085       -.20889E-07   -.37116E-03
   4  norm           .0000        1.8931       -.31221E-07** at limit **
   5  Prefactor     3.7344        1.6222       -.17095E-07   -.63588E-03
   6  Prefactor      .0000        4.0174        .15442E-07** at limit **
   7  Prefactor      .0000        1.6157        .11589E-06** at limit **
   8  norm          .46301        .79197       -.27716E-07    .88503E-03
   9  Prefactor      .0000        28.867        .46854E-07** at limit **
  10  Prefactor     14.675        10.951       -.25372E-07    .72905E-02
  11  Prefactor     .42188E-08    3.6907       -.31220E-07** at limit **
  12  norm          .23616        .42158       -.44064E-07** at limit **
  13  Prefactor      .0000        2.3138       -.99037E-07** at limit **
  14  Prefactor     .55511E-10    8.3147        .47770E-06** at limit **
  15  norm          1.7440        9.9919        .15415E-06   -.14022E-03
  16  Prefactor     2.8856        1.9336        .10882E-07   -.23609E-03
  17  Prefactor      .0000        4.5340       -.22186E-08** at limit **
  18  Prefactor     .53291E-08    3.0448       -.41919E-07** at limit **
  19  Prefactor     .28089E-07    1.5314        .18505E-08** at limit **
  20  Normalizat    1.0766        .15624       -.52756E-06    .21455E-04
  21  Prefactor     .98036        .12730        .36389E-06    .75430E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.16288
  norm       = 0.333655
  Prefactor  = 86.887
  norm       = 0
  Prefactor  = 3.7344
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.463012
  Prefactor  = 0
  Prefactor  = 14.6747
  Prefactor  = 4.21885e-09
  norm       = 0.236155
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 1.74398
  Prefactor  = 2.88559
  Prefactor  = 0
  Prefactor  = 5.32907e-09
  Prefactor  = 2.80886e-08
  Normalizat = 1.07662
  Prefactor  = 0.980359
 **********
 **   18 **HESSE 
 **********

 FCN=   11181.92     FROM HESSE     STATUS=OK           371 CALLS     2068 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1629        3.8111        .56748E-03   -1.5672    
   2  norm          .33366        1.7915        .43838E-02   -1.5696    
   3  Prefactor     86.887        32.907        .10826E-03   -1.5522    
   4  norm           .0000        1.8871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7344        8.9295        .52047E-03   -1.5669    
   6  Prefactor      .0000        4.0144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.6154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .46301        .88052        .27440E-02   -1.5694    
   9  Prefactor      .0000        28.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.675        12.284        .26255E-03   -1.5631    
  11  Prefactor     .42188E-08    5.5532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .23616        .48179        .22448E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.3188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    8.3248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7440        10.267        .79960E-03   -1.5682    
  16  Prefactor     2.8856        1.9304        .59854E-03   -1.5674    
  17  Prefactor      .0000        4.5444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .53291E-08    5.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28089E-07    .78929        .56918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0766        .13925        .38962E-01   -.90506    
  21  Prefactor     .98036        .10950        .46013E-01   -.93387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45232e-07
Minuit parameter uncertainties:
  1  3.8111
  2  1.54629
  3  32.9074
  4  2.93174e-06
  5  8.92954
  6  4.35453e-06
  7  4.51403e-06
  8  0.880524
  9  1.84472e-05
  10  12.2839
  11  0.000306003
  12  0.481785
  13  7.84616e-06
  14  4.08801e-05
  15  8.46306
  16  1.93043
  17  1.91491e-05
  18  0.000344614
  19  0.000297744
  20  0.139295
  21  0.109524
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.362e-01  4.818e-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:  9.804e-01  1.095e-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.077e+00  1.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/826885/likelihoodResults_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.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) = 11181.6289524
delta logL = 0.293972961899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11181.6236203
delta logL = 0.299305086044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25950       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6194       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97647       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=   11181.62     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25950        .50509        .18555E-02   -.18501E-01
   2  alpha         1.6195        .61484        .44961       -.45679E-04
   3  Normalizat    1.0821        .12530        .55434E-01    .16931E-04
   4  Prefactor     .97643        .10633        .45972E-01    .12808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.259503
  alpha      = 1.61948
  Normalizat = 1.08211
  Prefactor  = 0.976429
 **********
 **   18 **HESSE 
 **********

 FCN=   11181.62     FROM HESSE     STATUS=OK            35 CALLS      250 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25950        .40144        .94836E-04   -1.5698    
   2  alpha         1.6195        .82880        .25617E-01   -.35993    
   3  Normalizat    1.0821        .14758        .24512E-03   -.90328    
   4  Prefactor     .97643        .12520        .21651E-03   -.93519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73724e-09
Minuit parameter uncertainties:
  1  0.401436
  2  0.847193
  3  0.147638
  4  0.125237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826885': 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) = 11181.6236202
delta logL = 0.299305145187

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.595e-01  4.014e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  1.619e+00  8.472e-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:  9.764e-01  1.252e-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.082e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 230.545 31.739
Photon Index (Free Index): 1.62 +/- 0.85
Photon Flux (Free Index): 5.26e-09 +/- 8.77e-09
Energy Flux (Free Index): 6.00e-06 +/- 1.06e-05

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/826885/cmap_HighResolution_694224001_694483201_4FGL_J1522.1+3144_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', comment='SUCCESS', energy_flux2='6.00e-06', dlogl='2.99e-01', photon_flux2='5.26e-09', job_status='DONE', time_completed='2023-01-04 01:26:21.974564', photon_index_error2='0.85', photon_index2='1.62', ts='0.46', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='4.81e-08', energy_flux_error2='1.06e-05', EG='1.08', time_epoch_completed='1672824381.97', return_code='0', job_id='826885', GAL2='0.98', EG2='1.08', return_code2='0', photon_flux_error2='8.77e-09', ts2='1.06', photon_index='2.37' WHERE bin_id='1755' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:26:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 826885: <4FGL_J1522.1+3144_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1755> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan  4 01:10:33 2023
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:11:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:11:36 2023
Terminated at Wed Jan  4 01:26:22 2023
Results reported at Wed Jan  4 01:26:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1755 230.545 31.7395 694224001 694483201 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 :                                   778.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            949 sec.

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

