/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 166 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1011
RA = 230.545, Dec = 31.7395
tmin = 501379201, tmax = 501638401
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='511771', job_status='RUN', time_executed='2021-09-12 02:23:37.553769', time_epoch_executed='1631438617.55' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511771/ft1_4FGL_J1522.1+3144_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511771/ft1_4FGL_J1522.1+3144_daily_bin1011.fits outfile=/scratch/kocevski/511771/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1011.fits ra=230.545 dec=31.7395 rad=12.0 tmin=501379201.0 tmax=501638401.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.59
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/511771/ltcube_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.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/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits
.....................!
real 13.72
user 13.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/511771/ltcube_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits outfile=/scratch/kocevski/511771/expmap_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.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/511771/ltcube_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits
.....................!
real 191.78
user 186.79
sys 4.26

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/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits scfile=/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits outfile=/scratch/kocevski/511771/cmap_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.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 1.03
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits scfile=/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits outfile=/scratch/kocevski/511771/cmap_HighResolution_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.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.63
user 0.39
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits', '/scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits', expMap='/scratch/kocevski/511771/expmap_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits', expCube='/scratch/kocevski/511771/ltcube_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511771/Model_4FGL_J1522.1+3144_daily_bin1011.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  1.000e-04  1.000e+04 ( 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  0.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/511771/ft1_filtered_4FGL_J1522.1+3144_daily_bin1011.fits
Spacecraft file(s): /scratch/kocevski/511771/ft2_4FGL_J1522.1+3144_daily_bin1011.fits
Exposure map: /scratch/kocevski/511771/expmap_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits
Exposure cube: /scratch/kocevski/511771/ltcube_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511771/Model_4FGL_J1522.1+3144_daily_bin1011.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) = 5350.99867225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.387       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8623       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10601E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.435       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3781       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1514       1.0000         .10000E-03   10000.    
     9 'norm      '    .13362E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3933       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5920       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10459E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.1200       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .91773       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.9779       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .65711       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1385       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=   5350.975     FROM MIGRAD    STATUS=CONVERGED    965 CALLS     3166 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6888        .11665E-02** at limit **
   2  Prefactor     34.388        32.368        .68337E-04    .23291E-05
   3  norm          1.8630        5.1627        .26445E-03    .27174E-03
   4  Prefactor     .10000E-03    41.880        .11277    ** at limit **
   5  norm          .10000E-03    3.9548        .14197E-02** at limit **
   6  Prefactor     29.434        15.419        .73847E-04    .29712E-04
   7  Prefactor     5.3761        7.0463        .17329E-03    .93161E-04
   8  Prefactor     4.1527        10.905        .19782E-03    .57583E-04
   9  norm          .10000E-03    4.6346        .12907E-02** at limit **
  10  Prefactor     17.794        90.411        .95073E-04   -.12436E-04
  11  Prefactor     3.3958        10.058        .21964E-03    .32144E-04
  12  Prefactor     .10000E-03    12.748        .18142E-02** at limit **
  13  Prefactor     .10000E-03    15.889        .18142E-02** at limit **
  14  norm          3.5919        1.4271        .51872E-04   -.29215E-03
  15  Prefactor     .10000E-03    4.3880        .14914E-02** at limit **
  16  Prefactor     .10000E-03    9.0714        .18142E-02** at limit **
  17  Prefactor     .10000E-03    32.419        .36285E-03** at limit **
  18  norm          8.1083        11.668        .14070E-03   -.26341E-04
  19  Prefactor     .91826        1.8626        .14492E-02    .66799E-03
  20  Prefactor     9.9797        16.138        .12685E-03    .96789E-05
  21  Prefactor     .10000E-03    5.0726        .16068E-02** at limit **
  22  Prefactor     .10000E-03    .76596        .62402E-03** at limit **
  23  Normalizat    .65698        .21535        .28169E-03    .13782E-03
  24  Prefactor     1.1385        .17896        .19072E-03   -.12584E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 34.3883
  norm       = 1.86295
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 29.4341
  Prefactor  = 5.37615
  Prefactor  = 4.15271
  norm       = 0.0001
  Prefactor  = 17.7941
  Prefactor  = 3.39584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.59193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.10828
  Prefactor  = 0.918261
  Prefactor  = 9.97966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.656976
  Prefactor  = 1.13852
 **********
 **   18 **HESSE 
 **********

 FCN=   5350.975     FROM HESSE     STATUS=OK           385 CALLS     3551 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6892        .23331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.388        32.375        .27335E-05   -1.4534    
   3  norm          1.8630        5.1620        .10578E-04   -1.5435    
   4  Prefactor     .10000E-03    39.179        .11765       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.9549        .28394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.434        15.419        .29539E-05   -1.4622    
   7  Prefactor     5.3761        7.0423        .69315E-05   -1.5244    
   8  Prefactor     4.1527        10.904        .79130E-05   -1.5300    
   9  norm          .10000E-03    4.6534        .25815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.794        90.301        .38029E-05   -1.4864    
  11  Prefactor     3.3958        10.056        .87854E-05   -1.5339    
  12  Prefactor     .10000E-03    12.751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5919        1.4270        .20749E-05   -1.5329    
  15  Prefactor     .10000E-03    4.3885        .29827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.0714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.419        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.1083        11.668        .56279E-05   -1.5138    
  19  Prefactor     .91826        1.8606        .57967E-04   -1.5516    
  20  Prefactor     9.9797        16.138        .50742E-05   -1.5076    
  21  Prefactor     .10000E-03    5.0730        .32136E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .76597        .12480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .65698        .21551        .11268E-04   -1.0562    
  24  Prefactor     1.1385        .17912        .38144E-04   -.88245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03798e-10
Minuit parameter uncertainties:
  1  1.00446e-05
  2  32.3913
  3  5.16327
  4  0.00035501
  5  1.47914e-05
  6  15.4213
  7  7.04339
  8  10.9091
  9  1.41079e-05
  10  80.3634
  11  10.0614
  12  5.15228e-06
  13  1.27201e-05
  14  1.42701
  15  6.06028e-06
  16  5.58099e-06
  17  9.46798e-05
  18  11.6711
  19  1.86071
  20  16.1455
  21  1.19197e-05
  22  1.06856e-06
  23  0.215785
  24  0.179215
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  3.592e+00  1.427e+00  1.000e-04  1.000e+04 ( 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  0.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.139e+00  1.792e-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:  6.570e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.19
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 4.65e-08
Energy Flux (Fixed Index): 3.69e-05 +/- 1.47e-05

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) = 5350.57105843
delta logL = 0.40402579791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5350.56969204
delta logL = 0.405392183617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1089       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8011       1.0000          .0000       5.0000    
     3 'Normalizat'    .60373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1677       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=   5350.570     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      263 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1087        15.411        .57493E-02    .25736E-03
   2  alpha         2.8009        3.8957        .23139        .47710E-04
   3  Normalizat    .60418        .11812        .66111E-01    .18092E-04
   4  Prefactor     1.1675        .77003E-01    .35442E-01   -.51934E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1087
  alpha      = 2.80091
  Normalizat = 0.604184
  Prefactor  = 1.1675
 **********
 **   18 **HESSE 
 **********

 FCN=   5350.570     FROM HESSE     STATUS=OK            31 CALLS      294 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1087        1.4538        .43135E-04   -1.5355    
   2  alpha         2.8009        .50106        .96686E-02    .12066    
   3  Normalizat    .60418        .21109        .29255E-03   -1.0781    
   4  Prefactor     1.1675        .17845        .18853E-03   -.87337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0404e-12
Minuit parameter uncertainties:
  1  1.4538
  2  0.504529
  3  0.211376
  4  0.17854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511771': 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) = 5350.56968922
delta logL = 0.405395010118

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  3.109e+00  1.454e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.801e+00  5.045e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.148e-02  0.000e+00  0.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.167e+00  1.785e-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:  6.042e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.23
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.80 +/- 0.50
Photon Flux (Free Index): 1.55e-07 +/- 6.63e-08
Energy Flux (Free Index): 3.49e-05 +/- 1.26e-05

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/511771/cmap_HighResolution_501379201_501638401_4FGL_J1522.1+3144_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.49e-05', photon_flux_error='4.65e-08', dlogl='4.05e-01', energy_flux='3.69e-05', photon_flux2='1.55e-07', job_status='DONE', time_completed='2021-09-12 02:33:50.919456', photon_index_error2='0.50', photon_index2='2.80', ts='16.19', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='0.66', time_epoch_completed='1631439230.92', return_code='0', job_id='511771', GAL2='1.17', EG2='0.60', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.63e-08', ts2='17.23', photon_index='2.37' WHERE bin_id='1011' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:33:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 511771: <4FGL_J1522.1+3144_daily_bin1011> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1011> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 02:20:38 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:20:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 02:20:40 2021
Terminated at Sun Sep 12 02:33:51 2021
Results reported at Sun Sep 12 02:33:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1011 230.545 31.7395 501379201 501638401 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 :                                   607.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

