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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1492
RA = 230.545, Dec = 31.7395
tmin = 626054401, tmax = 626313601
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='513620', job_status='RUN', time_executed='2021-09-12 02:26:04.786579', time_epoch_executed='1631438764.79' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1492'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513620

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513620/ft1_4FGL_J1522.1+3144_daily_bin1492.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513620/ft2_4FGL_J1522.1+3144_daily_bin1492.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513620/ft1_4FGL_J1522.1+3144_daily_bin1492.fits outfile=/scratch/kocevski/513620/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1492.fits ra=230.545 dec=31.7395 rad=12.0 tmin=626054401.0 tmax=626313601.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.06
user 3.84
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513620/ft1_filtered_4FGL_J1522.1+3144_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/513620/ft2_4FGL_J1522.1+3144_daily_bin1492.fits sctable="SC_DATA" expcube=/scratch/kocevski/513620/ltcube_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.fits outfile=/scratch/kocevski/513620/expmap_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.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/513620/ltcube_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.fits
.....................!
real 189.94
user 184.96
sys 4.52

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/513620/ft1_filtered_4FGL_J1522.1+3144_daily_bin1492.fits scfile=/scratch/kocevski/513620/ft2_4FGL_J1522.1+3144_daily_bin1492.fits outfile=/scratch/kocevski/513620/cmap_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513620/ft1_filtered_4FGL_J1522.1+3144_daily_bin1492.fits scfile=/scratch/kocevski/513620/ft2_4FGL_J1522.1+3144_daily_bin1492.fits outfile=/scratch/kocevski/513620/cmap_HighResolution_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6133       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7728       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0710       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .33812       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.987       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56483       1.0000         .10000E-03   10000.    
     9 'norm      '    4.5431       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7588       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11414E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2172       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15019E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10952E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10370E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .37471E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12259E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2219       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93805       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.

 FCN=   6333.434     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2765 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6173        6.1630        .47624E-05    .82058E-03
   2  Prefactor     2.8327        181.83       -.22740E-04   -.24131E-05
   3  norm          2.0674        4.2313        .40717E-08    .22578E-04
   4  Prefactor     .10000E-03    21.283        .17903E-05** at limit **
   5  norm          .38885        8.4976       -.49120E-05    .10298E-02
   6  Prefactor     14.996        19.334        .13951E-07    .24763E-03
   7  Prefactor     .10000E-03    24.635       -.66931E-06** at limit **
   8  Prefactor     .56351        5.9522        .26500E-06   -.57617E-04
   9  norm          4.5421        2.1837        .40630E-06    .11364E-02
  10  Prefactor     2.8313        365.32       -.35252E-04   -.15894E-04
  11  Prefactor     .10000E-03    2.8087       -.49329E-07** at limit **
  12  Prefactor     9.5937        16.020        .25765E-06    .61248E-04
  13  Prefactor     .10000E-03    12.225       -.64463E-06** at limit **
  14  norm          1.2171        .92208       -.44520E-08   -.58479E-04
  15  Prefactor     .10000E-03    10.269        .53506E-06** at limit **
  16  Prefactor     .10000E-03    99.841       -.97880E-06** at limit **
  17  Prefactor     .10000E-03    6.7677        .21396E-06** at limit **
  18  norm          .10000E-03    5.1003        .14041E-07** at limit **
  19  Prefactor     .10000E-03    1.1015        .29228E-07** at limit **
  20  Prefactor     .10000E-03    7.4203       -.34982E-06** at limit **
  21  Prefactor     .10000E-03    14.594       -.56517E-06** at limit **
  22  Prefactor     .10000E-03    1.0394       -.43985E-07** at limit **
  23  Normalizat    1.2219        .19061       -.16764E-05    .34509E-03
  24  Prefactor     .93805        .15107        .20607E-05    .31457E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61729
  Prefactor  = 2.83272
  norm       = 2.0674
  Prefactor  = 0.0001
  norm       = 0.388854
  Prefactor  = 14.996
  Prefactor  = 0.0001
  Prefactor  = 0.563507
  norm       = 4.5421
  Prefactor  = 2.83132
  Prefactor  = 0.0001
  Prefactor  = 9.59369
  Prefactor  = 0.0001
  norm       = 1.21709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22191
  Prefactor  = 0.938046
 **********
 **   18 **HESSE 
 **********

 FCN=   6333.434     FROM HESSE     STATUS=OK           401 CALLS     3166 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6173        6.2208        .12616E-02   -1.5384    
   2  Prefactor     2.8327        180.98        .24440E-03   -1.5371    
   3  norm          2.0674        4.2137        .22597E-03   -1.5420    
   4  Prefactor     .10000E-03    21.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38885        40.157        .36055E-02   -1.5583    
   6  Prefactor     14.996        19.321        .10346E-03   -1.4933    
   7  Prefactor     .10000E-03    25.272        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .56351        16.209        .37311E-02   -1.5558    
   9  norm          4.5421        2.1773        .73150E-04   -1.5282    
  10  Prefactor     2.8313        364.37        .24506E-03   -1.5371    
  11  Prefactor     .10000E-03    2.8173        .13025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5937        16.033        .12930E-03   -1.5088    
  13  Prefactor     .10000E-03    12.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2171        .91258        .63687E-04   -1.5487    
  15  Prefactor     .10000E-03    10.471        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    104.35        .40940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.7773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.1117        .17553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.958        .16009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.4235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.0443        .79232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2219        .22527        .24513E-03   -.85928    
  24  Prefactor     .93805        .17882        .22921E-03   -.94824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11996e-08
Minuit parameter uncertainties:
  1  6.22237
  2  45.4281
  3  4.21434
  4  2.55764e-05
  5  7.90769
  6  19.3287
  7  1.08128e-05
  8  6.04581
  9  2.17735
  10  64.6432
  11  5.07332e-06
  12  16.0405
  13  1.71843e-05
  14  0.912592
  15  2.76397e-05
  16  0.00025371
  17  7.96037e-06
  18  5.39399e-06
  19  0.000364762
  20  2.33213e-06
  21  3.34625e-05
  22  1.68979e-06
  23  0.225447
  24  0.178931
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.217e+00  9.126e-01  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:  9.380e-01  1.789e-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.222e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.24
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 9.37e-06

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) = 6333.26691247
delta logL = 0.166882108055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6333.26555856
delta logL = 0.168236025019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1989       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9997       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93210       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=   6333.266     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2001        1.8889        .10370E-01    .17045E-03
   2  alpha         2.0002        .97725        .42244       -.16943E-04
   3  Normalizat    1.2344        .17660        .55196E-01    .76203E-05
   4  Prefactor     .93216        .14773        .45413E-01    .11958E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20011
  alpha      = 2.00019
  Normalizat = 1.23443
  Prefactor  = 0.932157
 **********
 **   18 **HESSE 
 **********

 FCN=   6333.266     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2001        .98400        .66540E-04   -1.5489    
   2  alpha         2.0002        .62040        .15875E-01   -.20128    
   3  Normalizat    1.2344        .20790        .24407E-03   -.85545    
   4  Prefactor     .93216        .17282        .22985E-03   -.95026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05001e-10
Minuit parameter uncertainties:
  1  0.984009
  2  0.627232
  3  0.208044
  4  0.172926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513620': 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) = 6333.26555737
delta logL = 0.168237212087

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.200e+00  9.840e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.000e+00  6.272e-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:  9.322e-01  1.729e-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.234e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.57
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.00 +/- 0.63
Photon Flux (Free Index): 2.92e-08 +/- 2.97e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.34e-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/513620/cmap_HighResolution_626054401_626313601_4FGL_J1522.1+3144_daily_bin1492.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.51e-05', photon_flux_error='2.98e-08', dlogl='1.68e-01', energy_flux='1.25e-05', photon_flux2='2.92e-08', job_status='DONE', time_completed='2021-09-12 02:36:36.139874', photon_index_error2='0.63', photon_index2='2.00', ts='4.24', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='1.22', time_epoch_completed='1631439396.14', return_code='0', job_id='513620', GAL2='0.93', EG2='1.23', return_code2='0', energy_flux_error='9.37e-06', photon_flux_error2='2.97e-08', ts2='4.57', photon_index='2.37' WHERE bin_id='1492' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:36:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 513620: <4FGL_J1522.1+3144_daily_bin1492> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1492> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 02:25:49 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:25:51 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:25:51 2021
Terminated at Sun Sep 12 02:36:36 2021
Results reported at Sun Sep 12 02:36:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1492 230.545 31.7395 626054401 626313601 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 :                                   613.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            647 sec.

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

