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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin55
RA = 230.545, Dec = 31.7395
tmin = 253584001, tmax = 253843201
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='506139', job_status='RUN', time_executed='2021-09-12 02:09:13.047190', time_epoch_executed='1631437753.05' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506139/ft1_4FGL_J1522.1+3144_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506139/ft2_4FGL_J1522.1+3144_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506139/ft1_4FGL_J1522.1+3144_daily_bin55.fits outfile=/scratch/kocevski/506139/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin55.fits ra=230.545 dec=31.7395 rad=12.0 tmin=253584001.0 tmax=253843201.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.49
user 1.23
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506139/ft1_filtered_4FGL_J1522.1+3144_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/506139/ft2_4FGL_J1522.1+3144_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/506139/ltcube_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.fits outfile=/scratch/kocevski/506139/expmap_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.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/506139/ltcube_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.fits
.....................!
real 192.53
user 187.11
sys 5.05

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/506139/ft1_filtered_4FGL_J1522.1+3144_daily_bin55.fits scfile=/scratch/kocevski/506139/ft2_4FGL_J1522.1+3144_daily_bin55.fits outfile=/scratch/kocevski/506139/cmap_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.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.50
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506139/ft1_filtered_4FGL_J1522.1+3144_daily_bin55.fits scfile=/scratch/kocevski/506139/ft2_4FGL_J1522.1+3144_daily_bin55.fits outfile=/scratch/kocevski/506139/cmap_HighResolution_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0863       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4135       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9008       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.652       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5936       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.015       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.755       1.0000         .10000E-03   10000.    
    14 'norm      '    12.209       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.201       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.706       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8482       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83917       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2227       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=   6510.291     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2704 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0833        6.8609       -.74956E-06   -.12426E-03
   2  Prefactor     .10000E-03    41.143        .26438E-04** at limit **
   3  norm          .10000E-03    1.9832       -.20203E-07** at limit **
   4  Prefactor     8.4058        27.208       -.14598E-04   -.91746E-05
   5  norm          .10000E-03    2.8461       -.37124E-08** at limit **
   6  Prefactor     .10000E-03    5.2530       -.20138E-06** at limit **
   7  Prefactor     6.8999        7.6022       -.25557E-06   -.83970E-04
   8  Prefactor     14.652        9.9805        .13649E-06   -.29822E-04
   9  norm          2.5932        1.6344       -.27563E-07    .75828E-04
  10  Prefactor     .10000E-03    34.061       -.23868E-04** at limit **
  11  Prefactor     7.9603        7.9773       -.45018E-06   -.55990E-04
  12  Prefactor     13.026        27.379        .65952E-04    .21054E-03
  13  Prefactor     14.682        28.112       -.75420E-04   -.16545E-03
  14  norm          12.208        2.2150       -.84508E-07    .15333E-03
  15  Prefactor     .10000E-03    5.2413       -.40632E-06** at limit **
  16  Prefactor     12.200        23.965       -.19092E-05   -.76569E-05
  17  Prefactor     .10000E-03    36.892        .87220E-05** at limit **
  18  norm          .10000E-03    8.8132        .67076E-07** at limit **
  19  Prefactor     .10000E-03    .78066       -.42577E-07** at limit **
  20  Prefactor     12.706        13.731        .16366E-05    .32716E-04
  21  Prefactor     .10000E-03    5.1137        .44030E-06** at limit **
  22  Prefactor     3.8478        3.0968       -.10853E-06   -.47240E-04
  23  Normalizat    .83967        .19716        .67567E-05   -.21785E-03
  24  Prefactor     1.2223        .16038       -.18327E-05    .25780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.08329
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.40579
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.89985
  Prefactor  = 14.6517
  norm       = 2.59318
  Prefactor  = 0.0001
  Prefactor  = 7.9603
  Prefactor  = 13.0264
  Prefactor  = 14.6816
  norm       = 12.2076
  Prefactor  = 0.0001
  Prefactor  = 12.1998
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7061
  Prefactor  = 0.0001
  Prefactor  = 3.84776
  Normalizat = 0.839667
  Prefactor  = 1.22233
 **********
 **   18 **HESSE 
 **********

 FCN=   6510.291     FROM HESSE     STATUS=OK           399 CALLS     3103 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0833        6.8688        .14099E-03   -1.5139    
   2  Prefactor     .10000E-03    41.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.0162        .11096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4058        27.237        .13821E-03   -1.5128    
   5  norm          .10000E-03    2.8467        .13294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2608        .18059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.8999        7.5975        .15273E-03   -1.5183    
   8  Prefactor     14.652        9.9874        .10464E-03   -1.4942    
   9  norm          2.5932        1.6323        .76496E-04   -1.5386    
  10  Prefactor     .10000E-03    34.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9603        7.9758        .14211E-03   -1.5144    
  12  Prefactor     13.026        27.403        .11103E-03   -1.4986    
  13  Prefactor     14.682        28.167        .10427E-03   -1.4941    
  14  norm          12.208        2.2161        .48184E-04   -1.5009    
  15  Prefactor     .10000E-03    5.2525        .18023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.200        23.961        .11468E-03   -1.5009    
  17  Prefactor     .10000E-03    37.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.8384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .78509        .69598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.706        13.733        .11237E-03   -1.4995    
  21  Prefactor     .10000E-03    5.1213        .17819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8478        3.0979        .12334E-03   -1.5316    
  23  Normalizat    .83967        .23140        .31028E-03   -.98614    
  24  Prefactor     1.2223        .18889        .22205E-03   -.85647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60474e-09
Minuit parameter uncertainties:
  1  6.86951
  2  3.72869e-05
  3  2.80795e-06
  4  27.2771
  5  4.98021e-08
  6  7.47878e-07
  7  7.59857
  8  9.98852
  9  1.63236
  10  1.32247e-05
  11  7.97687
  12  27.4293
  13  28.1926
  14  2.21608
  15  4.35364e-06
  16  23.9801
  17  0.000148896
  18  1.63154e-05
  19  2.9927e-06
  20  13.7367
  21  8.03965e-06
  22  3.09802
  23  0.231669
  24  0.188998
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.221e+01  2.216e+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.222e+00  1.890e-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:  8.397e-01  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 79.14
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.98e-07 +/- 7.23e-08
Energy Flux (Fixed Index): 1.25e-04 +/- 2.28e-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) = 6509.46083339
delta logL = 0.830168984149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.32547238
delta logL = 0.965529997618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.468       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1195       1.0000          .0000       5.0000    
     3 'Normalizat'    .89041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1905       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=   6509.325     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.468        2.8026        .27286E-02   -.51251E-03
   2  alpha         2.1194        .19033        .11949        .21401E-03
   3  Normalizat    .89049        .18956        .68379E-01   -.22739E-03
   4  Prefactor     1.1905        .15895        .50766E-01   -.21760E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.4679
  alpha      = 2.11945
  Normalizat = 0.890488
  Prefactor  = 1.19046
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.325     FROM HESSE     STATUS=OK            25 CALLS      238 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.468        2.5187        .51490E-04   -1.4974    
   2  alpha         2.1194        .17357        .52165E-03   -.15281    
   3  Normalizat    .89049        .22335        .30252E-03   -.96795    
   4  Prefactor     1.1905        .18697        .22443E-03   -.86625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96068e-10
Minuit parameter uncertainties:
  1  2.51873
  2  0.17371
  3  0.223581
  4  0.187073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506139': 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) = 6509.32547221
delta logL = 0.965530167768

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.347e+01  2.519e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.119e+00  1.737e-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.190e+00  1.871e-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:  8.905e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 80.49
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.12 +/- 0.17
Photon Flux (Free Index): 3.57e-07 +/- 7.31e-08
Energy Flux (Free Index): 1.53e-04 +/- 3.71e-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/506139/cmap_HighResolution_253584001_253843201_4FGL_J1522.1+3144_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.98e-07', energy_flux2='1.53e-04', photon_flux_error='7.23e-08', dlogl='9.66e-01', energy_flux='1.25e-04', photon_flux2='3.57e-07', job_status='DONE', time_completed='2021-09-12 02:19:41.010925', photon_index_error2='0.17', photon_index2='2.12', ts='79.14', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='3.71e-05', EG='0.84', time_epoch_completed='1631438381.01', return_code='0', job_id='506139', GAL2='1.19', EG2='0.89', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='7.31e-08', ts2='80.49', photon_index='2.37' WHERE bin_id='55' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:19:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 506139: <4FGL_J1522.1+3144_daily_bin55> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin55 230.545 31.7395 253584001 253843201 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 :                                   625.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            854 sec.

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

