/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 10 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 = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1522.1+3144_daily_bin7
RA = 230.545, Dec = 31.7395
tmin = 241142401, tmax = 241401601
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='506065', job_status='RUN', time_executed='2021-09-12 02:05:41.846354', time_epoch_executed='1631437541.85' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506065

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506065/ft1_4FGL_J1522.1+3144_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506065/ft1_4FGL_J1522.1+3144_daily_bin7.fits outfile=/scratch/kocevski/506065/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin7.fits ra=230.545 dec=31.7395 rad=12.0 tmin=241142401.0 tmax=241401601.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 1.48
user 1.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.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/506065/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/506065/ft1_filtered_4FGL_J1522.1+3144_daily_bin7.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/506065/ft1_filtered_4FGL_J1522.1+3144_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/506065/ltcube_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.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/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits
.....................!
real 12.80
user 12.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506065/ft1_filtered_4FGL_J1522.1+3144_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/506065/ltcube_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.fits outfile=/scratch/kocevski/506065/expmap_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.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/506065/ltcube_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.fits
.....................!
real 192.59
user 185.87
sys 5.73

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/506065/ft1_filtered_4FGL_J1522.1+3144_daily_bin7.fits scfile=/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits outfile=/scratch/kocevski/506065/cmap_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506065/ft1_filtered_4FGL_J1522.1+3144_daily_bin7.fits scfile=/scratch/kocevski/506065/ft2_4FGL_J1522.1+3144_daily_bin7.fits outfile=/scratch/kocevski/506065/cmap_HighResolution_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.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 1.26
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11202E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.713       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0892       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2797       1.0000         .10000E-03   10000.    
     9 'norm      '    3.9131       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14365E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.569       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3653       1.0000         .10000E-03   10000.    
    14 'norm      '    10.484       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7088       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3520       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1183       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0102       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1564       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98801       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=   10382.53     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     2354 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.8418       -.12983E-06** at limit **
   2  Prefactor     .10004E-03    5.1829       -.29134E-06** at limit **
   3  norm          .10000E-03    1.7905        .33641E-06** at limit **
   4  Prefactor     43.700        2.7264        .30117E-06   -.17016E-02
   5  norm          1.0890        4.9525        .13425E-05    .88842E-04
   6  Prefactor     17.801        1.4843       -.93702E-06   -.15085E-03
   7  Prefactor     .10000E-03    1.5698        .37287E-06** at limit **
   8  Prefactor     5.2804        5.1678        .90933E-05    .16799E-02
   9  norm          3.9125        1.5752       -.22275E-06    .49707E-03
  10  Prefactor     .10114E-03    333.20       -.32237E-04** at limit **
  11  Prefactor     17.569        1.0222       -.20012E-06    .50199E-03
  12  Prefactor     2.6398        8.8243       -.18098E-04   -.12841E-02
  13  Prefactor     7.3650        5.7878       -.67071E-05   -.35715E-02
  14  norm          10.484        1.7357        .74405E-07    .49155E-03
  15  Prefactor     4.7093        1.3956       -.13158E-05   -.54554E-03
  16  Prefactor     .10000E-03    15.208       -.63995E-05** at limit **
  17  Prefactor     .10000E-03    13.785        .54709E-05** at limit **
  18  norm          .10003E-03    5.0583       -.16901E-05** at limit **
  19  Prefactor     4.3522        2.5734        .21730E-06    .12520E-04
  20  Prefactor     6.1045        9.7445        .14428E-04   -.40426E-02
  21  Prefactor     3.0098        1.0290       -.30385E-06    .65175E-04
  22  Prefactor     .10000E-03    1.1766       -.25603E-06** at limit **
  23  Normalizat    1.1562        .18662        .49163E-06   -.23370E-04
  24  Prefactor     .98813        .14493       -.18622E-05   -.54377E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.00010004
  norm       = 0.0001
  Prefactor  = 43.7005
  norm       = 1.08901
  Prefactor  = 17.8013
  Prefactor  = 0.0001
  Prefactor  = 5.28036
  norm       = 3.91254
  Prefactor  = 0.000101136
  Prefactor  = 17.5688
  Prefactor  = 2.63982
  Prefactor  = 7.36503
  norm       = 10.4845
  Prefactor  = 4.70925
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.000100035
  Prefactor  = 4.35224
  Prefactor  = 6.10454
  Prefactor  = 3.00982
  Prefactor  = 0.0001
  Normalizat = 1.15621
  Prefactor  = 0.988128
 **********
 **   18 **HESSE 
 **********

 FCN=   10382.53     FROM HESSE     STATUS=OK           455 CALLS     2809 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3966        .57865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10004E-03    9.4460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7567        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.700        31.609        .15159E-02   -1.4385    
   5  norm          1.0890        5.1817        .11470E-01   -1.5499    
   6  Prefactor     17.801        12.047        .23732E-02   -1.4864    
   7  Prefactor     .10000E-03    1.5685        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2804        5.2690        .43731E-02   -1.5248    
   9  norm          3.9125        1.5783        .50988E-02   -1.5312    
  10  Prefactor     .10114E-03    335.69        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.569        9.9867        .23888E-02   -1.4869    
  12  Prefactor     2.6398        38.645        .62849E-02   -1.5383    
  13  Prefactor     7.3650        20.803        .36947E-02   -1.5165    
  14  norm          10.484        2.0402        .30935E-02   -1.5060    
  15  Prefactor     4.7093        10.379        .46360E-02   -1.5274    
  16  Prefactor     .10000E-03    15.241        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.799        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10003E-03    9.4233        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.3522        2.5898        .48270E-02   -1.5291    
  20  Prefactor     6.1045        17.932        .40578E-02   -1.5214    
  21  Prefactor     3.0098        7.5857        .58483E-02   -1.5361    
  22  Prefactor     .10000E-03    1.1557        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1562        .16583        .63525E-01   -.87967    
  24  Prefactor     .98813        .12523        .46117E-01   -.93126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47994e-07
Minuit parameter uncertainties:
  1  3.06535e-07
  2  0.00122595
  3  3.73583e-06
  4  31.6211
  5  4.75141
  6  12.0491
  7  1.93723e-06
  8  5.26942
  9  1.57834
  10  0.0392724
  11  9.9876
  12  20.216
  13  20.8232
  14  2.04026
  15  10.3834
  16  0.000379358
  17  0.000242091
  18  0.00114757
  19  2.58989
  20  17.948
  21  7.5881
  22  1.87965e-06
  23  0.165909
  24  0.12527
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.048e+01  2.040e+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:  9.881e-01  1.253e-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.156e+00  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 87.69
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.42e-07 +/- 6.65e-08
Energy Flux (Fixed Index): 1.08e-04 +/- 2.10e-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) = 10380.2418118
delta logL = 2.28874189441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10380.2397207
delta logL = 2.29083289554

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5692       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8096       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0455       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=   10380.24     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      212 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5692        17.917        .34234E-02    .57193E-03
   2  alpha         2.8096        1.8307        .13317        .69793E-04
   3  Normalizat    1.0522        .17153        .65936E-01    .24365E-04
   4  Prefactor     1.0455        .12710        .40181E-01   -.39759E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.56916
  alpha      = 2.80961
  Normalizat = 1.05217
  Prefactor  = 1.0455
 **********
 **   18 **HESSE 
 **********

 FCN=   10380.24     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5692        1.8445        .43393E-04   -1.5122    
   2  alpha         2.8096        .21683        .58116E-03    .12416    
   3  Normalizat    1.0522        .18789        .29168E-03   -.91303    
   4  Prefactor     1.0455        .14723        .23548E-03   -.91228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89194e-11
Minuit parameter uncertainties:
  1  1.84451
  2  0.217111
  3  0.188006
  4  0.147289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506065': 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) = 10380.2397207
delta logL = 2.29083289577

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  8.569e+00  1.845e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.810e+00  2.171e-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.045e+00  1.473e-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.052e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 94.18
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.81 +/- 0.22
Photon Flux (Free Index): 4.32e-07 +/- 7.63e-08
Energy Flux (Free Index): 9.66e-05 +/- 1.56e-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/506065/cmap_HighResolution_241142401_241401601_4FGL_J1522.1+3144_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.42e-07', energy_flux2='9.66e-05', photon_flux_error='6.65e-08', dlogl='2.29e+00', energy_flux='1.08e-04', photon_flux2='4.32e-07', job_status='DONE', time_completed='2021-09-12 02:18:47.288426', photon_index_error2='0.22', photon_index2='2.81', ts='87.69', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='1.16', time_epoch_completed='1631438327.29', return_code='0', job_id='506065', GAL2='1.05', EG2='1.05', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='7.63e-08', ts2='94.18', photon_index='2.37' WHERE bin_id='7' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:18:47 PDT 2021


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

Job <4FGL_J1522.1+3144_daily_bin7> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 02:05:20 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:05:22 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:05:22 2021
Terminated at Sun Sep 12 02:18:47 2021
Results reported at Sun Sep 12 02:18:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin7 230.545 31.7395 241142401 241401601 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.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

