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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin545
RA = 222.624, Dec = 9.1818
tmin = 380592001, tmax = 380851201
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='808559', job_status='RUN', time_executed='2021-09-10 10:46:48.402677', time_epoch_executed='1631296008.4' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808559/ft1_4FGL_J1450.4+0910_daily_bin545.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808559/ft1_4FGL_J1450.4+0910_daily_bin545.fits outfile=/scratch/kocevski/808559/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin545.fits ra=222.624 dec=9.1818 rad=12.0 tmin=380592001.0 tmax=380851201.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 4.77
user 4.51
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.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/808559/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin545.fits evtable="EVENTS" outfile="/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits" evtable="EVENTS" scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits sctable="SC_DATA" outfile=/scratch/kocevski/808559/ltcube_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.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/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits
.....................!
real 11.79
user 11.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits evtable="EVENTS" scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits sctable="SC_DATA" expcube=/scratch/kocevski/808559/ltcube_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits outfile=/scratch/kocevski/808559/expmap_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.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/808559/ltcube_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits
.....................!
real 190.38
user 184.23
sys 5.54

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

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits outfile=/scratch/kocevski/808559/cmap_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.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=222.624 yref=9.1818 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/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits outfile=/scratch/kocevski/808559/cmap_HighResolution_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.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=222.624 yref=9.1818 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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits evtable="EVENTS" scfile=/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808559/Model_4FGL_J1450.4+0910_daily_bin545.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/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits.....................!
real 58.99
user 57.62
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits', '/scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits', expMap='/scratch/kocevski/808559/expmap_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits', expCube='/scratch/kocevski/808559/ltcube_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/808559/Model_4FGL_J1450.4+0910_daily_bin545.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/808559/ft1_filtered_4FGL_J1450.4+0910_daily_bin545.fits
Spacecraft file(s): /scratch/kocevski/808559/ft2_4FGL_J1450.4+0910_daily_bin545.fits
Exposure map: /scratch/kocevski/808559/expmap_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits
Exposure cube: /scratch/kocevski/808559/ltcube_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/808559/Model_4FGL_J1450.4+0910_daily_bin545.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) = 7959.88441548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4328       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.027       1.0000         .10000E-03   10000.    
     3 'norm      '    .13355E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0139       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3850       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .69959       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6491       1.0000         .10000E-03   10000.    
    17 'norm      '    5.6385       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.7603       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.587       1.0000         .10000E-03   10000.    
    21 'Prefactor '    44.483       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85139       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.874     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2503 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4386        19.947        .33590E-06   -.15735E-04
   2  Prefactor     27.036        25.463        .32112E-05   -.72925E-05
   3  norm          .10000E-03    43.480        .21168E-06** at limit **
   4  Prefactor     .10000E-03    3.3771        .19070E-07** at limit **
   5  Prefactor     3.0174        5.5489       -.13088E-05   -.58553E-03
   6  norm          7.3849        3.1747       -.98392E-08    .18360E-04
   7  Prefactor     .10000E-03    64.577        .79211E-06** at limit **
   8  Prefactor     .10000E-03    10.210       -.26529E-05** at limit **
   9  norm          .10000E-03    6.5016        .44861E-05** at limit **
  10  Prefactor     .10000E-03    6.3488       -.43904E-05** at limit **
  11  Prefactor     .10000E-03    11.460        .56700E-06** at limit **
  12  Prefactor     .10000E-03    4.5473       -.14428E-06** at limit **
  13  Prefactor     .10000E-03    4.9979        .17574E-06** at limit **
  14  Prefactor     .10000E-03    12.178        .35777E-05** at limit **
  15  norm          .69964        .18970       -.12669E-07   -.10027E-04
  16  norm          1.6483        1.9840        .27561E-06   -.61998E-03
  17  norm          5.6383        4.6618        .81070E-07    .10845E-03
  18  norm          .10000E-03    14.735       -.24570E-05** at limit **
  19  norm          8.7601        3.9023        .54617E-06    .53152E-04
  20  Prefactor     36.563        46.866       -.26222E-04   -.10157E-05
  21  Prefactor     44.488        31.569        .25259E-05    .28427E-05
  22  Normalizat    .85089        .19477       -.19158E-07    .37114E-04
  23  Prefactor     .98369        .11465        .10398E-05   -.13222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.43859
  Prefactor  = 27.0361
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.01744
  norm       = 7.3849
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.699642
  norm       = 1.6483
  norm       = 5.63827
  norm       = 0.0001
  norm       = 8.76014
  Prefactor  = 36.5626
  Prefactor  = 44.4879
  Normalizat = 0.850888
  Prefactor  = 0.983689
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.874     FROM HESSE     STATUS=OK           368 CALLS     2871 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4386        19.954        .13048E-03   -1.5093    
   2  Prefactor     27.036        25.623        .77059E-04   -1.4668    
   3  norm          .10000E-03    44.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4019        .15991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0174        5.5878        .23378E-03   -1.5361    
   6  norm          7.3849        3.1727        .10087E-03   -1.5164    
   7  Prefactor     .10000E-03    64.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.5022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.5567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .69964        .18958        .19264E-04   -1.5541    
  16  norm          1.6483        1.9583        .12802E-03   -1.5451    
  17  norm          5.6383        4.6643        .16917E-03   -1.5233    
  18  norm          .10000E-03    14.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.7601        3.8992        .11239E-03   -1.5116    
  20  Prefactor     36.563        46.771        .66258E-04   -1.4498    
  21  Prefactor     44.488        31.602        .60111E-04   -1.4373    
  22  Normalizat    .85089        .23620        .31906E-03   -.98208    
  23  Prefactor     .98369        .13958        .18632E-03   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27571e-10
Minuit parameter uncertainties:
  1  19.9676
  2  25.6336
  3  0.0003105
  4  7.13641e-06
  5  5.58873
  6  3.1728
  7  0.000119607
  8  1.38755e-05
  9  1.07667e-05
  10  2.50876e-08
  11  1.23218e-05
  12  2.91349e-06
  13  1.8711e-06
  14  7.45593e-06
  15  0.189583
  16  1.95839
  17  4.66457
  18  2.11075e-06
  19  3.89934
  20  46.818
  21  31.6139
  22  0.236481
  23  0.139629
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  1.232e-05  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  9.837e-01  1.396e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  8.509e-01  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 6.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808559/likelihoodResults_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.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): 102
logL (Free Index) = 7959.87413639
delta logL = -0.000414080562223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7959.87372361
delta logL = -1.30368334794e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.874     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.357        .90712E-02** at limit **
   2  Index         2.3926        6.0099        .50000        .41036E-06
   3  Normalizat    .85089        .59112E-02    .72102E-01    .26426E-04
   4  Prefactor     .98369        .37063E-02    .46062E-01    .12545E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.39257
  Normalizat = 0.850886
  Prefactor  = 0.98369
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.874     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    124.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3926        8.0759        .50000       -.54859    
   3  Normalizat    .85089        .15104E-01    .31906E-03   -.98208    
   4  Prefactor     .98369        .94843E-02    .18632E-03   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61371e-09
Minuit parameter uncertainties:
  1  1.23298e-05
  2  423.194
  3  0.0151038
  4  0.00948436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808559': 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): 102
logL (Free Index) = 7959.87372231
delta logL = 1.31876731757e-10

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  1.233e-05  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.393e+00  4.232e+02  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  9.837e-01  9.484e-03  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  8.509e-01  1.510e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.624 9.182

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/808559/cmap_HighResolution_380592001_380851201_4FGL_J1450.4+0910_daily_bin545.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2021-09-10 10:57:49.454977', job_id='808559', GAL2='0.98', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631296669.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.32e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='545' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:57:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 808559: <4FGL_J1450.4+0910_daily_bin545> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin545> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 10:46:37 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:46:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:46:38 2021
Terminated at Fri Sep 10 10:57:49 2021
Results reported at Fri Sep 10 10:57:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin545 222.624 9.1818 380592001 380851201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1450.4+0910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            672 sec.

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

