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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1201
RA = 230.545, Dec = 31.7395
tmin = 550627201, tmax = 550886401
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='512047', job_status='RUN', time_executed='2021-09-12 02:22:56.852924', time_epoch_executed='1631438576.85' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/512047

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/512047/ft1_4FGL_J1522.1+3144_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/512047/ft1_4FGL_J1522.1+3144_daily_bin1201.fits outfile=/scratch/kocevski/512047/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1201.fits ra=230.545 dec=31.7395 rad=12.0 tmin=550627201.0 tmax=550886401.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.95
user 3.72
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/512047/ltcube_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits
.....................!
real 11.54
user 11.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/512047/ltcube_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits outfile=/scratch/kocevski/512047/expmap_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.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/512047/ltcube_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits
.....................!
real 189.71
user 185.00
sys 4.40

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/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits outfile=/scratch/kocevski/512047/cmap_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits outfile=/scratch/kocevski/512047/cmap_HighResolution_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/512047/Model_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits..............................!
real 16.15
user 14.98
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits', '/scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits', expMap='/scratch/kocevski/512047/expmap_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits', expCube='/scratch/kocevski/512047/ltcube_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/512047/Model_4FGL_J1522.1+3144_daily_bin1201.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/512047/ft1_filtered_4FGL_J1522.1+3144_daily_bin1201.fits
Spacecraft file(s): /scratch/kocevski/512047/ft2_4FGL_J1522.1+3144_daily_bin1201.fits
Exposure map: /scratch/kocevski/512047/expmap_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits
Exposure cube: /scratch/kocevski/512047/ltcube_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/512047/Model_4FGL_J1522.1+3144_daily_bin1201.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 395.962699266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 394.382580361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61582E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9596       1.0000         .10000E-03   10000.    
     3 'norm      '    .13575E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7602       1.0000         .10000E-03   10000.    
     5 'norm      '    .19316E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .85120E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.803       1.0000         .10000E-03   10000.    
     9 'norm      '    .62066E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9255       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3927       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3443       1.0000         .10000E-03   10000.    
    14 'norm      '    .18041E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .82059E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5481       1.0000         .10000E-03   10000.    
    18 'norm      '    5.2097       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0130       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .99732E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.2606       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3627       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68729       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=   394.3718     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      401 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    98.291        .60288E-06** at limit **
   2  Prefactor     .21644E-01    2087.5        .33244E-04   -.27459E-02
   3  norm          .10000E-03    7.5760       -.64968E-06** at limit **
   4  Prefactor     .10533E-03    258.99        .10560E-04** at limit **
   5  norm          .10042E-03    36.784       -.28034E-05** at limit **
   6  Prefactor     .10006E-03    145.27        .10774E-04** at limit **
   7  Prefactor     .10244E-03    231.19       -.15390E-04** at limit **
   8  Prefactor     20.783        1.0747        .17671E-08   -.66119E-03
   9  norm          .10092E-03    109.91       -.43425E-05** at limit **
  10  Prefactor     .25196        829.93        .20077E-04    .45983E-02
  11  Prefactor     24.026        6.1967        .58828E-06   -.16278E-01
  12  Prefactor     3.3927        1.0113         .0000         .0000    
  13  Prefactor     3.3443        1.0116         .0000         .0000    
  14  norm          .10000E-03    11.443        .52976E-05** at limit **
  15  Prefactor     .10000E-03    78.267       -.88382E-05** at limit **
  16  Prefactor     .10586E-03    250.24       -.11767E-04** at limit **
  17  Prefactor     2.5481        1.0207         .0000         .0000    
  18  norm          5.2097        1.0047         .0000         .0000    
  19  Prefactor     .10000E-03    17.963        .38286E-05** at limit **
  20  Prefactor     1.0130        1.3135         .0000         .0000    
  21  Prefactor     .10000E-03    58.558       -.15366E-05** at limit **
  22  Prefactor     2.2606        1.0268         .0000         .0000    
  23  Normalizat    1.3649        1.0823        .59990E-04    .44377E-06
  24  Prefactor     .68702        .68149        .14391E-05   -.17281E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100009
  Prefactor  = 0.021644
  norm       = 0.0001
  Prefactor  = 0.000105331
  norm       = 0.000100419
  Prefactor  = 0.00010006
  Prefactor  = 0.000102443
  Prefactor  = 20.7832
  norm       = 0.00010092
  Prefactor  = 0.251959
  Prefactor  = 24.026
  Prefactor  = 3.39269
  Prefactor  = 3.34434
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000105862
  Prefactor  = 2.5481
  norm       = 5.20967
  Prefactor  = 0.0001
  Prefactor  = 1.013
  Prefactor  = 0.0001
  Prefactor  = 2.26062
  Normalizat = 1.36485
  Prefactor  = 0.687017
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   394.3718     FROM HESSE     STATUS=FAILED        53 CALLS      454 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    98.303        .10525E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21644E-01    6227.7        .33476E-02   -1.5737    
   3  norm          .10000E-03    7.5525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10533E-03    259.71        .78959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10042E-03    142.03        .91192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10006E-03    145.31        .96707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10244E-03    231.53        .94401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.783        23.939        .21954E-02   -1.4796    
   9  norm          .10092E-03    147.64        .93288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .25196        7241.9        .41241E-02   -1.5608    
  11  Prefactor     24.026        59.221        .20355E-02   -1.4727    
  12  Prefactor     549.34        545.87         .0000       -1.5340    
  13  Prefactor     3.3443        1.0116         .0000       -1.5342    
  14  norm          .10000E-03    .25804        .52976E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .21236       -.88382E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10586E-03    .16486       -.11767E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5481        1.0207         .0000       -1.5389    
  18  norm          5.2097        1.0047         .0000       -1.5251    
  19  Prefactor     .10000E-03    .20571        .38286E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0130        1.3135         .0000       -1.5507    
  21  Prefactor     .10000E-03    .22610       -.15366E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.2606        1.0268         .0000       -1.5407    
  23  Normalizat    1.3649        1.0684        .59990E-04   -.81651    
  24  Prefactor     .68702        1.0368        .14391E-05   -1.0404    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.83608e-10
Minuit parameter uncertainties:
  1  0.00187849
  2  15.1763
  3  2.72124e-07
  4  0.0747465
  5  0.0154694
  6  0.00593318
  7  0.0477556
  8  23.9503
  9  0.0233643
  10  74.1461
  11  59.366
  12  1.01129
  13  1.01164
  14  1.21798e-06
  15  2.52922e-05
  16  0.00196612
  17  1.02068
  18  1.00468
  19  9.86937e-07
  20  1.31358
  21  2.03638e-06
  22  1.02683
  23  1.08658
  24  1.06824
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 394.37180936

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  1.218e-06  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:  6.870e-01  1.068e+00  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.365e+00  1.087e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 230.545 31.739
Photon Flux Upper Limit: 2.16e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.80e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/512047/likelihoodResults_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.txt

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) = 394.371890454
delta logL = -8.1094581958e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 394.371811612
delta logL = -2.2524434371e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7270       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68747       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   394.3718     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      266 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1300.7        .54752E-02** at limit **
   2  alpha         2.3489        2.8814        .20000        .36522E-08
   3  Normalizat    1.3649        .29258        .28655E-03    .11540E-04
   4  Prefactor     .68702        .18343        .24278E-03    .15983E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.34891
  Normalizat = 1.36485
  Prefactor  = 0.687018
 **********
 **   18 **HESSE 
 **********

 FCN=   394.3718     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.449        .65662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3489        3.4753        .80000E-02   -.60474E-01
   3  Normalizat    1.3649        1.0826        .57311E-04   -.81651    
   4  Prefactor     .68702        .68185        .97112E-05   -1.0404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06095e-12
Minuit parameter uncertainties:
  1  3.86499e-06
  2  636.864
  3  1.10153
  4  0.690388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/512047': 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) = 394.371809359
delta logL = 5.74971181777e-10

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  3.865e-06  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.349e+00  6.369e+02  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:  6.870e-01  6.904e-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.365e+00  1.102e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 230.545 31.739

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/512047/cmap_HighResolution_550627201_550886401_4FGL_J1522.1+3144_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-04', job_status='DONE', photon_flux_upper_limit='2.16e-06', time_completed='2021-09-12 02:28:31.913205', job_id='512047', GAL2='0.69', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1631438911.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.69', dlogl='5.75e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1201' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:28:31 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1201 230.545 31.7395 550627201 550886401 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 :                                   326.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             397.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   449 sec.
    Turnaround time :                            450 sec.

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

