/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 130 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_J1446.3+3111_daily_bin1049
RA = 221.591, Dec = 31.1955
tmin = 511228801, tmax = 511488001
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='774916', job_status='RUN', time_executed='2021-09-10 09:08:27.057652', time_epoch_executed='1631290107.06' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/774916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/774916/ft1_4FGL_J1446.3+3111_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/774916/ft1_4FGL_J1446.3+3111_daily_bin1049.fits outfile=/scratch/kocevski/774916/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1049.fits ra=221.591 dec=31.1955 rad=12.0 tmin=511228801.0 tmax=511488001.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.46
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.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/774916/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1049.fits evtable="EVENTS" outfile="/scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.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/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/774916/ltcube_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.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/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits
.....................!
real 11.71
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/774916/ltcube_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits outfile=/scratch/kocevski/774916/expmap_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.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/774916/ltcube_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits
.....................!
real 191.14
user 185.46
sys 5.29

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits outfile=/scratch/kocevski/774916/cmap_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.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=221.591 yref=31.1955 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/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits outfile=/scratch/kocevski/774916/cmap_HighResolution_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.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=221.591 yref=31.1955 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/774916/Model_4FGL_J1446.3+3111_daily_bin1049.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/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits.....................!
real 54.02
user 52.64
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits', '/scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits', expMap='/scratch/kocevski/774916/expmap_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits', expCube='/scratch/kocevski/774916/ltcube_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/774916/Model_4FGL_J1446.3+3111_daily_bin1049.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/774916/ft1_filtered_4FGL_J1446.3+3111_daily_bin1049.fits
Spacecraft file(s): /scratch/kocevski/774916/ft2_4FGL_J1446.3+3111_daily_bin1049.fits
Exposure map: /scratch/kocevski/774916/expmap_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits
Exposure cube: /scratch/kocevski/774916/ltcube_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/774916/Model_4FGL_J1446.3+3111_daily_bin1049.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) = 7127.52860089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32312E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7721       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.272       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.0890       1.0000         .10000E-03   10000.    
     8 'norm      '    8.3920       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.513       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5458       1.0000         .10000E-03   10000.    
    11 'norm      '    30.036       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .48588E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.290       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.507       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9574       1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.714       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11096E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.9765       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.028       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .91798       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2224       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7127.510     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3303 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10177E-03    4.7566       -.10972E-05** at limit **
   2  Prefactor     .10000E-03    6.9939       -.10858E-05** at limit **
   3  norm          1.7720        1.9436       -.65035E-07    .43367E-04
   4  Prefactor     .10000E-03    5.7269       -.28410E-06** at limit **
   5  Prefactor     21.266        16.069        .28015E-05    .24852E-04
   6  Prefactor     .10000E-03    1.5328        .20794E-06** at limit **
   7  norm          5.0880        9.0428       -.11704E-05   -.71692E-04
   8  norm          8.3912        3.0781       -.20796E-06    .12238E-03
   9  Prefactor     19.510        22.706       -.32787E-05   -.65249E-05
  10  norm          1.5450        2.6995       -.55788E-06   -.73253E-03
  11  norm          30.036        8.7120       -.56183E-06    .10656E-04
  12  Prefactor     .10000E-03    8.5991        .12017E-05** at limit **
  13  norm          .10000E-03    2.1871       -.38115E-06** at limit **
  14  Prefactor     23.283        32.859       -.14970E-04    .56370E-05
  15  norm          .10000E-03    2.3970        .96664E-07** at limit **
  16  Prefactor     .10000E-03    9.4318       -.37838E-06** at limit **
  17  Prefactor     .10000E-03    3.0849       -.33187E-06** at limit **
  18  Prefactor     13.508        10.600       -.34592E-06   -.39248E-04
  19  norm          2.9574        2.0108        .34921E-05    .10918E-03
  20  Prefactor     48.625        95.788       -.10310E-03    .41400E-05
  21  Prefactor     .10000E-03    16.032        .53340E-05** at limit **
  22  norm          3.9766        1.3585       -.41991E-07   -.68837E-04
  23  Prefactor     .10000E-03    2.8629       -.64610E-07** at limit **
  24  Prefactor     20.020        19.727        .18409E-04   -.28873E-05
  25  Prefactor     .10000E-03    18.133       -.43498E-05** at limit **
  26  Normalizat    .91790        .18217        .52670E-05   -.45041E-04
  27  Prefactor     1.2226        .16740       -.58927E-06    .22540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101768
  Prefactor  = 0.0001
  norm       = 1.77196
  Prefactor  = 0.0001
  Prefactor  = 21.2661
  Prefactor  = 0.0001
  norm       = 5.08804
  norm       = 8.39122
  Prefactor  = 19.5096
  norm       = 1.54496
  norm       = 30.0358
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.2825
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5077
  norm       = 2.95742
  Prefactor  = 48.6249
  Prefactor  = 0.000100001
  norm       = 3.97656
  Prefactor  = 0.0001
  Prefactor  = 20.0196
  Prefactor  = 0.000100001
  Normalizat = 0.917898
  Prefactor  = 1.22259
 **********
 **   18 **HESSE 
 **********

 FCN=   7127.510     FROM HESSE     STATUS=OK           498 CALLS     3801 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10177E-03    6.0563        .52432E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.0080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7720        1.9428        .12003E-03   -1.5442    
   4  Prefactor     .10000E-03    5.7349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.266        16.087        .86845E-04   -1.4785    
   6  Prefactor     .10000E-03    1.5556        .10199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.0880        9.0277        .17823E-03   -1.5257    
   8  norm          8.3912        3.0783        .86906E-04   -1.5129    
   9  Prefactor     19.510        22.730        .90670E-04   -1.4824    
  10  norm          1.5450        2.6732        .17741E-03   -1.5459    
  11  norm          30.036        8.7222        .73106E-04   -1.4611    
  12  Prefactor     .10000E-03    8.5994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    12.297        .24010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.283        32.956        .83000E-04   -1.4743    
  15  norm          .10000E-03    2.3978        .12765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.5256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0961        .14465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.508        10.645        .10899E-03   -1.4973    
  19  norm          2.9574        2.0016        .85059E-04   -1.5364    
  20  Prefactor     48.625        95.701        .57454E-04   -1.4312    
  21  Prefactor     .10000E-03    16.730        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.9766        1.3569        .54553E-04   -1.5309    
  23  Prefactor     .10000E-03    2.8714        .13939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.020        19.727        .89498E-04   -1.4813    
  25  Prefactor     .10000E-03    18.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .91790        .21194        .27950E-03   -.95834    
  27  Prefactor     1.2226        .19544        .23890E-03   -.85639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05182e-10
Minuit parameter uncertainties:
  1  0.00654585
  2  2.60514e-05
  3  1.9429
  4  5.48032e-05
  5  16.0903
  6  7.04094e-06
  7  9.03015
  8  3.07833
  9  22.7406
  10  2.67338
  11  8.72255
  12  2.88844e-06
  13  1.92583e-05
  14  32.9821
  15  5.5372e-07
  16  6.93105e-06
  17  3.73587e-05
  18  10.6463
  19  2.00166
  20  96.0055
  21  0.000302822
  22  1.35691
  23  1.19389e-05
  24  19.7332
  25  0.000242299
  26  0.212135
  27  0.195551
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.328e+01  3.298e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.223e+00  1.956e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.179e-01  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.63
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/774916/likelihoodResults_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.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) = 7127.48972917
delta logL = 0.0199552090089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7127.47996161
delta logL = 0.0297227638384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.186       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9009       1.0000          .0000       10.000    
     3 'Normalizat'    .90665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7127.480     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      226 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.110        637.67        .23480E-02   -.27342E-03
   2  Index         2.9025        6.4462        .22344       -.56276E-04
   3  Normalizat    .90668        .52854E-01    .44987E-01   -.28541E-03
   4  Prefactor     1.2299        .45764E-01    .53901E-01   -.63207E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1095
  Index      = 2.90248
  Normalizat = 0.906683
  Prefactor  = 1.22985
 **********
 **   18 **HESSE 
 **********

 FCN=   7127.480     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.110        48.734        .93919E-04   -1.4857    
   2  Index         2.9025        1.9837        .10424E-01   -.43290    
   3  Normalizat    .90668        .20537        .28108E-03   -.96226    
   4  Prefactor     1.2299        .19388        .23832E-03   -.85418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35715e-09
Minuit parameter uncertainties:
  1  48.8409
  2  2.05294
  3  0.205551
  4  0.193995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/774916': 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) = 7127.47995917
delta logL = 0.0297252061764

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.811e+01  4.884e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.902e+00  2.053e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.230e+00  1.940e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.067e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
Ra Dec: 221.591 31.195

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/774916/cmap_HighResolution_511228801_511488001_4FGL_J1446.3+3111_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-10 09:21:38.939911', job_id='774916', GAL2='1.23', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1631290898.94', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.97e-02', ts2='0.70', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1049' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:21:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 774916: <4FGL_J1446.3+3111_daily_bin1049> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1049> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 09:06:05 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:06:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:06:06 2021
Terminated at Fri Sep 10 09:21:39 2021
Results reported at Fri Sep 10 09:21:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1049 221.591 31.1955 511228801 511488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   782.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

