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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1328
RA = 230.545, Dec = 31.7395
tmin = 583545601, tmax = 583804801
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='513357', job_status='RUN', time_executed='2021-09-12 02:28:11.219139', time_epoch_executed='1631438891.22' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513357

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513357/ft1_4FGL_J1522.1+3144_daily_bin1328.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513357/ft1_4FGL_J1522.1+3144_daily_bin1328.fits outfile=/scratch/kocevski/513357/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1328.fits ra=230.545 dec=31.7395 rad=12.0 tmin=583545601.0 tmax=583804801.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.43
user 3.21
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513357/ft1_filtered_4FGL_J1522.1+3144_daily_bin1328.fits" evtable="EVENTS" scfile=/scratch/kocevski/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits sctable="SC_DATA" outfile=/scratch/kocevski/513357/ltcube_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.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/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits
.....................!
real 11.81
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513357/ft1_filtered_4FGL_J1522.1+3144_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits sctable="SC_DATA" expcube=/scratch/kocevski/513357/ltcube_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.fits outfile=/scratch/kocevski/513357/expmap_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.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/513357/ltcube_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.fits
.....................!
real 190.19
user 185.35
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/513357/ft1_filtered_4FGL_J1522.1+3144_daily_bin1328.fits scfile=/scratch/kocevski/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits outfile=/scratch/kocevski/513357/cmap_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513357/ft1_filtered_4FGL_J1522.1+3144_daily_bin1328.fits scfile=/scratch/kocevski/513357/ft2_4FGL_J1522.1+3144_daily_bin1328.fits outfile=/scratch/kocevski/513357/cmap_HighResolution_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.694       1.0000         .10000E-03   10000.    
     4 'Prefactor '    81.222       1.0000         .10000E-03   10000.    
     5 'norm      '    6.5842       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5587       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1069       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.811       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0169       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8332       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14866E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8615       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9192       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3054       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1297       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86387       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=   6164.783     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2677 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.1844       -.84978E-06** at limit **
   2  Prefactor     .10000E-03    20.159       -.82074E-05** at limit **
   3  norm          11.694        5.3181       -.16514E-06   -.65288E-05
   4  Prefactor     81.236        45.442        .10814E-04   -.32304E-03
   5  norm          6.5845        6.0615        .31345E-07    .67143E-04
   6  Prefactor     3.5602        9.2043       -.11748E-05   -.17883E-03
   7  Prefactor     .10000E-03    1.6767        .12544E-06** at limit **
   8  Prefactor     5.1060        7.6739       -.29775E-06   -.16811E-03
   9  norm          .10000E-03    .37041       -.11116E-06** at limit **
  10  Prefactor     28.814        31.138        .32709E-05   -.57795E-04
  11  Prefactor     .10000E-03    4.0568       -.67413E-07** at limit **
  12  Prefactor     .10000E-03    25.100        .14906E-04** at limit **
  13  Prefactor     1.9588        30.852       -.22675E-04   -.81249E-04
  14  norm          1.8332        1.0568        .19629E-06    .59169E-03
  15  Prefactor     .10001E-03    4.6614       -.91799E-06** at limit **
  16  Prefactor     3.8572        27.014       -.53248E-05    .24481E-04
  17  Prefactor     .10000E-03    8.3819       -.32761E-05** at limit **
  18  norm          .10000E-03    6.7308        .72499E-06** at limit **
  19  Prefactor     3.9191        2.7297        .12666E-07   -.12034E-03
  20  Prefactor     .10000E-03    10.749        .71781E-05** at limit **
  21  Prefactor     .10000E-03    3.7705       -.26201E-06** at limit **
  22  Prefactor     4.3067        4.8312       -.12212E-06   -.45113E-03
  23  Normalizat    1.1294        .17770       -.39700E-06    .15824E-03
  24  Prefactor     .86416        .14111       -.23554E-06    .11031E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 11.694
  Prefactor  = 81.2362
  norm       = 6.58452
  Prefactor  = 3.56021
  Prefactor  = 0.0001
  Prefactor  = 5.10605
  norm       = 0.0001
  Prefactor  = 28.8144
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.95879
  norm       = 1.83318
  Prefactor  = 0.000100009
  Prefactor  = 3.8572
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.91909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.30674
  Normalizat = 1.12938
  Prefactor  = 0.864158
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.783     FROM HESSE     STATUS=OK           395 CALLS     3072 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2474        .15679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.694        5.3185        .11715E-03   -1.5024    
   4  Prefactor     81.236        45.227        .44566E-04   -1.3903    
   5  norm          6.5845        6.0624        .15639E-03   -1.5195    
   6  Prefactor     3.5602        9.2117        .21425E-03   -1.5331    
   7  Prefactor     .10000E-03    1.6790        .99281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1060        7.6770        .17791E-03   -1.5256    
   9  norm          .10000E-03    .37709        .46631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.814        31.130        .74640E-04   -1.4634    
  11  Prefactor     .10000E-03    4.0725        .15441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9588        32.981        .29144E-03   -1.5428    
  14  norm          1.8332        1.0010        .55971E-04   -1.5437    
  15  Prefactor     .10001E-03    12.791        .31000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8572        26.772        .20536E-03   -1.5315    
  17  Prefactor     .10000E-03    8.3819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.7505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9191        2.7232        .10274E-03   -1.5312    
  20  Prefactor     .10000E-03    10.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.7745        .14890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3067        4.8566        .17232E-03   -1.5293    
  23  Normalizat    1.1294        .20779        .23981E-03   -.88814    
  24  Prefactor     .86416        .16463        .22628E-03   -.97405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66833e-09
Minuit parameter uncertainties:
  1  1.08918e-05
  2  0.000272297
  3  5.31872
  4  45.2466
  5  6.06299
  6  9.21538
  7  7.65446e-07
  8  7.67851
  9  8.86581e-07
  10  31.1475
  11  8.22135e-07
  12  0.000324387
  13  16.0851
  14  1.00101
  15  0.000664179
  16  20.3366
  17  7.9493e-05
  18  1.95636e-06
  19  2.72331
  20  0.000140168
  21  4.89391e-06
  22  4.85707
  23  0.207946
  24  0.16472
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.833e+00  1.001e+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:  8.642e-01  1.647e-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.129e+00  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.98e-08 +/- 3.26e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.03e-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) = 6164.68972547
delta logL = 0.0933589329379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6164.68725848
delta logL = 0.095825920278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6491       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5993       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86860       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=   6164.687     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6497        19.383        .82202E-02    .30703E-03
   2  alpha         2.5992        3.5824        .31578        .25865E-04
   3  Normalizat    1.1211        .81349E-01    .54403E-01    .77507E-05
   4  Prefactor     .86859        .69415E-01    .44604E-01    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64972
  alpha      = 2.59922
  Normalizat = 1.12115
  Prefactor  = 0.86859
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.687     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6497        1.0537        .52015E-04   -1.5451    
   2  alpha         2.5992        .54951        .13042E-01    .39699E-01
   3  Normalizat    1.1211        .19335        .24055E-03   -.89076    
   4  Prefactor     .86859        .16133        .22576E-03   -.97247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33332e-10
Minuit parameter uncertainties:
  1  1.05371
  2  0.554044
  3  0.193477
  4  0.161417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513357': 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) = 6164.68725829
delta logL = 0.0958261072719

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.650e+00  1.054e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.599e+00  5.540e-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:  8.686e-01  1.614e-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.121e+00  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.60 +/- 0.55
Photon Flux (Free Index): 6.69e-08 +/- 3.80e-08
Energy Flux (Free Index): 1.72e-05 +/- 9.90e-06

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/513357/cmap_HighResolution_583545601_583804801_4FGL_J1522.1+3144_daily_bin1328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.98e-08', energy_flux2='1.72e-05', photon_flux_error='3.26e-08', dlogl='9.58e-02', energy_flux='1.88e-05', photon_flux2='6.69e-08', job_status='DONE', time_completed='2021-09-12 02:41:13.647611', photon_index_error2='0.55', photon_index2='2.60', ts='5.92', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='9.90e-06', EG='1.13', time_epoch_completed='1631439673.65', return_code='0', job_id='513357', GAL2='0.87', EG2='1.12', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='3.80e-08', ts2='6.10', photon_index='2.37' WHERE bin_id='1328' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:41:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 513357: <4FGL_J1522.1+3144_daily_bin1328> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1328 230.545 31.7395 583545601 583804801 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 :                                   615.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            943 sec.

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

