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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin957
RA = 230.545, Dec = 31.7395
tmin = 487382401, tmax = 487641601
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='511686', job_status='RUN', time_executed='2021-09-12 02:20:47.372262', time_epoch_executed='1631438447.37' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='957'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511686/ft1_4FGL_J1522.1+3144_daily_bin957.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511686/ft2_4FGL_J1522.1+3144_daily_bin957.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511686/ft1_4FGL_J1522.1+3144_daily_bin957.fits outfile=/scratch/kocevski/511686/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin957.fits ra=230.545 dec=31.7395 rad=12.0 tmin=487382401.0 tmax=487641601.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.83
user 3.57
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511686/ft2_4FGL_J1522.1+3144_daily_bin957.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/511686/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin957.fits evtable="EVENTS" outfile="/scratch/kocevski/511686/ft1_filtered_4FGL_J1522.1+3144_daily_bin957.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.34
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511686/ft1_filtered_4FGL_J1522.1+3144_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/511686/ft2_4FGL_J1522.1+3144_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/511686/ltcube_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.fits outfile=/scratch/kocevski/511686/expmap_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.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/511686/ltcube_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.fits
.....................!
real 191.30
user 185.37
sys 5.61

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/511686/ft1_filtered_4FGL_J1522.1+3144_daily_bin957.fits scfile=/scratch/kocevski/511686/ft2_4FGL_J1522.1+3144_daily_bin957.fits outfile=/scratch/kocevski/511686/cmap_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=230.545 yref=31.7395 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511686/ft1_filtered_4FGL_J1522.1+3144_daily_bin957.fits scfile=/scratch/kocevski/511686/ft2_4FGL_J1522.1+3144_daily_bin957.fits outfile=/scratch/kocevski/511686/cmap_HighResolution_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4953       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.107       1.0000         .10000E-03   10000.    
     3 'norm      '    3.6531       1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.857       1.0000         .10000E-03   10000.    
     5 'norm      '    4.9683       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0647       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9168       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0344       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8634       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.184       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3486       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1839       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.4236       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3191       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83768       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0035       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=   5919.755     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2718 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4939        5.9009        .16279E-06   -.96101E-05
   2  Prefactor     33.096        38.866        .78484E-06   -.60809E-05
   3  norm          3.6520        4.0290        .79663E-06   -.61792E-04
   4  Prefactor     57.873        37.155       -.65508E-06    .12052E-04
   5  norm          4.9682        5.2063       -.17357E-07    .97889E-06
   6  Prefactor     .10000E-03    6.5997       -.54173E-07** at limit **
   7  Prefactor     2.0651        4.0570        .18535E-05   -.95443E-04
   8  Prefactor     .10000E-03    3.7266       -.66113E-09** at limit **
   9  norm          1.9172        1.3076       -.89786E-07   -.65375E-05
  10  Prefactor     8.9541        32.348        .54795E-05   -.17094E-04
  11  Prefactor     1.8287        6.2339        .39301E-06   -.44685E-05
  12  Prefactor     3.8181        24.220       -.45900E-05   -.48299E-04
  13  Prefactor     11.215        17.592        .31113E-05    .42501E-04
  14  norm          1.3485        1.1377        .10794E-07   -.24071E-04
  15  Prefactor     5.1843        6.1415        .40819E-07   -.28936E-05
  16  Prefactor     .10000E-03    8.4350        .50668E-07** at limit **
  17  Prefactor     .10000E-03    9.3935        .52555E-07** at limit **
  18  norm          9.4271        10.719       -.47091E-06    .15417E-04
  19  Prefactor     .10000E-03    .82877       -.72837E-08** at limit **
  20  Prefactor     .10000E-03    8.3813        .62002E-07** at limit **
  21  Prefactor     .10000E-03    6.2917        .74175E-07** at limit **
  22  Prefactor     4.3191        4.3672        .21661E-07    .22776E-05
  23  Normalizat    .83759        .18119       -.36082E-06    .22226E-04
  24  Prefactor     1.0036        .14415       -.61453E-07    .15103E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.49392
  Prefactor  = 33.0959
  norm       = 3.65196
  Prefactor  = 57.8728
  norm       = 4.96821
  Prefactor  = 0.0001
  Prefactor  = 2.06513
  Prefactor  = 0.0001
  norm       = 1.91718
  Prefactor  = 8.95413
  Prefactor  = 1.82873
  Prefactor  = 3.81812
  Prefactor  = 11.215
  norm       = 1.34855
  Prefactor  = 5.18435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.42711
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31907
  Normalizat = 0.83759
  Prefactor  = 1.00365
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.755     FROM HESSE     STATUS=OK           407 CALLS     3125 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4939        5.8857        .25873E-03   -1.5392    
   2  Prefactor     33.096        38.811        .69641E-04   -1.4557    
   3  norm          3.6520        4.0198        .78439E-03   -1.5326    
   4  Prefactor     57.873        37.520        .52742E-04   -1.4185    
   5  norm          4.9682        5.2079        .17508E-03   -1.5262    
   6  Prefactor     .10000E-03    6.6344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0651        4.0582        .10498E-02   -1.5421    
   8  Prefactor     .10000E-03    3.7410        .14504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9172        1.3023        .68819E-04   -1.5431    
  10  Prefactor     8.9541        32.110        .13334E-03   -1.5109    
  11  Prefactor     1.8287        6.2011        .30858E-03   -1.5438    
  12  Prefactor     3.8181        23.877        .20530E-03   -1.5317    
  13  Prefactor     11.215        17.554        .11979E-03   -1.5038    
  14  norm          1.3485        1.1203        .66714E-04   -1.5476    
  15  Prefactor     5.1843        6.1359        .17656E-03   -1.5253    
  16  Prefactor     .10000E-03    8.4363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.4016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.4271        10.708        .13055E-03   -1.5094    
  19  Prefactor     .10000E-03    .83795        .68363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.3906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.3099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3191        4.3652        .15355E-03   -1.5292    
  23  Normalizat    .83759        .21296        .25700E-03   -.98689    
  24  Prefactor     1.0036        .16985        .20238E-03   -.92608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29593e-11
Minuit parameter uncertainties:
  1  5.88711
  2  38.8403
  3  4.02006
  4  37.5349
  5  5.20837
  6  3.09453e-06
  7  4.05872
  8  9.75689e-08
  9  1.30234
  10  32.1716
  11  6.20328
  12  19.1073
  13  17.5623
  14  1.12027
  15  6.13661
  16  6.7018e-07
  17  1.80529e-05
  18  10.7103
  19  2.33306e-08
  20  5.16691e-06
  21  1.00494e-06
  22  4.36551
  23  0.213178
  24  0.169944
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.349e+00  1.120e+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.004e+00  1.699e-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.376e-01  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.65
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.40e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.15e-05

TS (Fixed Index): 2.65
Ra Dec: 230.545 31.739
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511686/likelihoodResults_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.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) = 5919.7546077
delta logL = 0.000119470337268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5919.75459465
delta logL = 0.000132513974677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3535       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3604       1.0000          .0000       5.0000    
     3 'Normalizat'    .83789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0035       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=   5919.755     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      228 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3534        1.0979        .66861E-04   -.90917E-03
   2  alpha         2.3602        .59919        .15211E-01   -.28626E-04
   3  Normalizat    .83790        .19403        .25695E-03    .32298E-05
   4  Prefactor     1.0035        .16546        .20240E-03    .55496E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35345
  alpha      = 2.3602
  Normalizat = 0.837898
  Prefactor  = 1.00347
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.755     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3534        1.0864        .26745E-05   -1.5475    
   2  alpha         2.3602        .59294        .60843E-03   -.55950E-01
   3  Normalizat    .83790        .19421        .10278E-04   -.98678    
   4  Prefactor     1.0035        .16559        .80959E-05   -.92614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74124e-11
Minuit parameter uncertainties:
  1  1.08645
  2  0.598663
  3  0.194371
  4  0.16567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511686': 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) = 5919.75459459
delta logL = 0.000132576525175

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.353e+00  1.086e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.360e+00  5.987e-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.003e+00  1.657e-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.379e-01  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.36 +/- 0.60
Photon Flux (Free Index): 4.38e-08 +/- 3.65e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.16e-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/511686/cmap_HighResolution_487382401_487641601_4FGL_J1522.1+3144_daily_bin957.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-05', comment='SUCCESS', photon_flux='4.40e-08', energy_flux2='1.39e-05', photon_flux_error='3.65e-08', dlogl='1.33e-04', energy_flux='1.39e-05', photon_flux2='4.38e-08', job_status='DONE', time_completed='2021-09-12 02:32:02.763530', photon_index_error2='0.60', photon_index2='2.36', ts='2.65', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.16e-05', EG='0.84', time_epoch_completed='1631439122.76', return_code='0', job_id='511686', GAL2='1.00', EG2='0.84', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.65e-08', ts2='2.66', photon_index='2.37' WHERE bin_id='957' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:32:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 511686: <4FGL_J1522.1+3144_daily_bin957> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin957 230.545 31.7395 487382401 487641601 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 :                                   667.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

