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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin41
RA = 230.545, Dec = 31.7395
tmin = 249955201, tmax = 250214401
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='506117', job_status='RUN', time_executed='2021-09-12 02:07:51.004343', time_epoch_executed='1631437671.0' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='41'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506117/ft1_4FGL_J1522.1+3144_daily_bin41.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506117/ft1_4FGL_J1522.1+3144_daily_bin41.fits outfile=/scratch/kocevski/506117/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin41.fits ra=230.545 dec=31.7395 rad=12.0 tmin=249955201.0 tmax=250214401.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.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.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/506117/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin41.fits evtable="EVENTS" outfile="/scratch/kocevski/506117/ft1_filtered_4FGL_J1522.1+3144_daily_bin41.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/506117/ft1_filtered_4FGL_J1522.1+3144_daily_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/506117/ltcube_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.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/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits
.....................!
real 14.45
user 14.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506117/ft1_filtered_4FGL_J1522.1+3144_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/506117/ltcube_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.fits outfile=/scratch/kocevski/506117/expmap_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.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/506117/ltcube_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.fits
.....................!
real 191.97
user 186.13
sys 5.47

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/506117/ft1_filtered_4FGL_J1522.1+3144_daily_bin41.fits scfile=/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits outfile=/scratch/kocevski/506117/cmap_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506117/ft1_filtered_4FGL_J1522.1+3144_daily_bin41.fits scfile=/scratch/kocevski/506117/ft2_4FGL_J1522.1+3144_daily_bin41.fits outfile=/scratch/kocevski/506117/cmap_HighResolution_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.7684       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7160       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .63903E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2371       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10989E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.2706       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9851       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7003       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.548       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.0977       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0069       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90004       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=   8203.276     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2301 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7701        7.3310        .30832E-06    .48226E-03
   2  Prefactor     .10000E-03    23.412        .12581E-06** at limit **
   3  norm          2.7159        2.8205        .39001E-07   -.80620E-04
   4  Prefactor     .10000E-03    9.6016        .30896E-07** at limit **
   5  norm          .10000E-03    5.9719        .35568E-06** at limit **
   6  Prefactor     .10005E-03    15.935       -.80934E-05** at limit **
   7  Prefactor     3.6784        5.5227        .15832E-06    .19823E-03
   8  Prefactor     .10000E-03    6.5570       -.65664E-06** at limit **
   9  norm          .10000E-03    .57235        .10760E-07** at limit **
  10  Prefactor     .10000E-03    17.738       -.89873E-07** at limit **
  11  Prefactor     .10000E-03    5.2894       -.12230E-06** at limit **
  12  Prefactor     7.2305        13.842        .70900E-06    .13093E-03
  13  Prefactor     .10000E-03    9.7011        .98572E-07** at limit **
  14  norm          9.2689        2.1755       -.58705E-06   -.83091E-03
  15  Prefactor     2.9934        14.150        .97029E-05    .58923E-04
  16  Prefactor     .10000E-03    18.495       -.19883E-06** at limit **
  17  Prefactor     .10000E-03    4.8218        .26699E-07** at limit **
  18  norm          .10000E-03    4.8212        .64961E-08** at limit **
  19  Prefactor     4.6996        2.6041       -.11727E-06   -.29478E-03
  20  Prefactor     .10001E-03    25.217        .10608E-05** at limit **
  21  Prefactor     13.548        10.196        .73249E-07   -.12741E-04
  22  Prefactor     2.0973        3.0697        .21426E-06    .27503E-04
  23  Normalizat    1.0072        .16137       -.93493E-06   -.63540E-04
  24  Prefactor     .89991        .12287       -.80895E-07   -.32543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.77008
  Prefactor  = 0.000100001
  norm       = 2.71591
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.00010005
  Prefactor  = 3.67841
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.23047
  Prefactor  = 0.0001
  norm       = 9.26894
  Prefactor  = 2.99342
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.69962
  Prefactor  = 0.000100007
  Prefactor  = 13.5478
  Prefactor  = 2.09729
  Normalizat = 1.00716
  Prefactor  = 0.899908
 **********
 **   18 **HESSE 
 **********

 FCN=   8203.276     FROM HESSE     STATUS=OK           395 CALLS     2696 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7701        7.3376        .12821E-03   -1.5083    
   2  Prefactor     .10000E-03    23.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7159        2.8100        .15072E-03   -1.5378    
   4  Prefactor     .10000E-03    9.6138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.1234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10005E-03    43.678        .46218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6784        5.4787        .21067E-03   -1.5324    
   8  Prefactor     .10000E-03    6.8051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .58834        .13328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.3425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2305        13.879        .14910E-03   -1.5170    
  13  Prefactor     .10000E-03    9.7462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.2689        2.2885        .47928E-04   -1.5099    
  15  Prefactor     2.9934        17.507        .11749E-02   -1.5362    
  16  Prefactor     .10000E-03    18.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.8282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.6996        2.6023        .10292E-03   -1.5274    
  20  Prefactor     .10001E-03    26.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.548        10.198        .10882E-03   -1.4972    
  22  Prefactor     2.0973        3.0587        .18377E-03   -1.5418    
  23  Normalizat    1.0072        .18413        .25835E-03   -.92791    
  24  Prefactor     .89991        .14173        .22119E-03   -.96144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62041e-09
Minuit parameter uncertainties:
  1  7.33828
  2  0.000243509
  3  2.81009
  4  3.54123e-05
  5  0.000204696
  6  0.00296989
  7  5.47944
  8  0.000256966
  9  2.19347e-06
  10  0.000196543
  11  6.17118e-05
  12  13.8849
  13  8.12618e-05
  14  2.28852
  15  14.4847
  16  0.000243876
  17  2.19135e-05
  18  7.67401e-06
  19  2.60239
  20  0.000862498
  21  10.1992
  22  3.05892
  23  0.184243
  24  0.141783
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  9.269e+00  2.289e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.999e-01  1.418e-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.007e+00  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 69.53
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.02e-07 +/- 7.46e-08
Energy Flux (Fixed Index): 9.52e-05 +/- 2.35e-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) = 8201.98617396
delta logL = 1.2893859689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8201.9840568
delta logL = 1.29150312015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8350       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7275       1.0000          .0000       5.0000    
     3 'Normalizat'    .93920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93718       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=   8201.984     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8349        18.553        .35813E-02    .12219E-03
   2  alpha         2.7276        2.0047        .13277        .58929E-04
   3  Normalizat    .93919        .17575        .45401E-01    .20550E-04
   4  Prefactor     .93719        .13362        .45477E-01    .73701E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.83487
  alpha      = 2.72758
  Normalizat = 0.939188
  Prefactor  = 0.937191
 **********
 **   18 **HESSE 
 **********

 FCN=   8201.984     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .50E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8349        1.8155        .41548E-04   -1.5148    
   2  alpha         2.7276        .23218        .57932E-03    .91159E-01
   3  Normalizat    .93919        .17854        .26572E-03   -.95096    
   4  Prefactor     .93719        .14213        .21719E-03   -.94853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98489e-14
Minuit parameter uncertainties:
  1  1.81552
  2  0.232522
  3  0.178657
  4  0.142189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506117': 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) = 8201.98405679
delta logL = 1.29150313277

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  7.835e+00  1.816e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.728e+00  2.325e-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:  9.372e-01  1.422e-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:  9.392e-01  1.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 73.11
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.73 +/- 0.23
Photon Flux (Free Index): 3.62e-07 +/- 7.14e-08
Energy Flux (Free Index): 8.52e-05 +/- 1.57e-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/506117/cmap_HighResolution_249955201_250214401_4FGL_J1522.1+3144_daily_bin41.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.02e-07', energy_flux2='8.52e-05', photon_flux_error='7.46e-08', dlogl='1.29e+00', energy_flux='9.52e-05', photon_flux2='3.62e-07', job_status='DONE', time_completed='2021-09-12 02:19:02.185141', photon_index_error2='0.23', photon_index2='2.73', ts='69.53', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='1.01', time_epoch_completed='1631438342.19', return_code='0', job_id='506117', GAL2='0.94', EG2='0.94', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='7.14e-08', ts2='73.11', photon_index='2.37' WHERE bin_id='41' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:19:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 506117: <4FGL_J1522.1+3144_daily_bin41> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin41 230.545 31.7395 249955201 250214401 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 :                                   668.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

