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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1392
RA = 327.698, Dec = -28.1728
tmin = 600134401, tmax = 600393601
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='437', job_status='RUN', time_executed='2021-09-27 19:09:39.675612', time_epoch_executed='1632794979.68' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437/ft1_4FGL_J2150.7-2810_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437/ft1_4FGL_J2150.7-2810_daily_bin1392.fits outfile=/scratch/kocevski/437/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1392.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=600134401.0 tmax=600393601.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.96
user 4.62
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.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/437/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/437/ltcube_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.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/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits
.....................!
real 15.14
user 14.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/437/ltcube_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits outfile=/scratch/kocevski/437/expmap_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.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/437/ltcube_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits
.....................!
real 191.54
user 186.08
sys 4.98

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

Setting source of interest to:
4FGL J2150.7-2810 @ 327.698 -28.1728

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits outfile=/scratch/kocevski/437/cmap_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.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=327.698 yref=-28.1728 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits outfile=/scratch/kocevski/437/cmap_HighResolution_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.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=327.698 yref=-28.1728 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/437/Model_4FGL_J2150.7-2810_daily_bin1392.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/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits.....................!
real 41.66
user 39.78
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits', '/scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits', expMap='/scratch/kocevski/437/expmap_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits', expCube='/scratch/kocevski/437/ltcube_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/437/Model_4FGL_J2150.7-2810_daily_bin1392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2150.7-2810'

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.009e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.158e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/437/ft1_filtered_4FGL_J2150.7-2810_daily_bin1392.fits
Spacecraft file(s): /scratch/kocevski/437/ft2_4FGL_J2150.7-2810_daily_bin1392.fits
Exposure map: /scratch/kocevski/437/expmap_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits
Exposure cube: /scratch/kocevski/437/ltcube_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/437/Model_4FGL_J2150.7-2810_daily_bin1392.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) = 4373.76015043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.733       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8323       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.939       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6009       1.0000         .10000E-03   10000.    
     8 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .60358E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.789       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4764       1.0000         .10000E-03   10000.    
    12 'norm      '    .18965       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2467       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.872       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.135       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4373.703     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2096 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.738        28.115        .28803E-05    .44562E-07
   2  Prefactor     2.8333        10.033       -.28795E-05   -.24856E-03
   3  norm          .10000E-03    6.6039        .65374E-07** at limit **
   4  Prefactor     .10000E-03    3.1358       -.14744E-07** at limit **
   5  Prefactor     13.940        13.247       -.11040E-05   -.52163E-04
   6  Prefactor     .10000E-03    10.715        .68122E-06** at limit **
   7  Prefactor     9.6029        14.016       -.12541E-05   -.39738E-04
   8  norm          .10000E-03    5.1176       -.11445E-06** at limit **
   9  Prefactor     .10019E-03    87.180        .18735E-04** at limit **
  10  Prefactor     90.744        109.98       -.45557E-04   -.21596E-03
  11  norm          2.4888        8.5804        .77958E-05   -.33452E-03
  12  norm          .18901        .39894        .12286E-06   -.59116E-03
  13  Prefactor     5.2500        19.433        .13525E-04   -.39631E-05
  14  Prefactor     45.853        33.225       -.15220E-04   -.58249E-04
  15  Prefactor     .10000E-03    8.2476       -.33124E-06** at limit **
  16  norm          13.134        25.594       -.81385E-06   -.71426E-06
  17  Prefactor     .10000E-03    15.177       -.28181E-06** at limit **
  18  norm          .10000E-03    3.1650       -.59016E-08** at limit **
  19  Normalizat    1.0952        .26016        .63027E-05   -.32913E-03
  20  Prefactor     .93133        .15883       -.81919E-06   -.15192E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.738
  Prefactor  = 2.8333
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9397
  Prefactor  = 0.0001
  Prefactor  = 9.60288
  norm       = 0.0001
  Prefactor  = 0.000100185
  Prefactor  = 90.7438
  norm       = 2.48879
  norm       = 0.189008
  Prefactor  = 5.25004
  Prefactor  = 45.8525
  Prefactor  = 0.0001
  norm       = 13.1338
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09524
  Prefactor  = 0.931332
 **********
 **   18 **HESSE 
 **********

 FCN=   4373.703     FROM HESSE     STATUS=OK           291 CALLS     2387 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.738        28.150        .70037E-04   -1.4563    
   2  Prefactor     2.8333        10.033        .24164E-03   -1.5371    
   3  norm          .10000E-03    6.6640        .16598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1417        .11437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.940        13.249        .10728E-03   -1.4961    
   6  Prefactor     .10000E-03    10.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.6029        13.988        .12933E-03   -1.5088    
   8  norm          .10000E-03    5.1424        .14608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10019E-03    91.206        .21061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     90.744        108.71        .42173E-04   -1.3800    
  11  norm          2.4888        8.1569        .25981E-03   -1.5392    
  12  norm          .18901        .35060        .54366E-03   -1.5621    
  13  Prefactor     5.2500        19.386        .17548E-03   -1.5250    
  14  Prefactor     45.853        32.967        .59198E-04   -1.4353    
  15  Prefactor     .10000E-03    8.3198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.134        25.645        .11052E-03   -1.4983    
  17  Prefactor     .10000E-03    15.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.2282        .11486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0952        .30574        .29357E-03   -.89905    
  20  Prefactor     .93133        .18715        .20784E-03   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40166e-09
Minuit parameter uncertainties:
  1  28.1614
  2  10.0387
  3  2.72278e-06
  4  3.35751e-06
  5  13.2522
  6  0.000113438
  7  13.9929
  8  2.36802e-05
  9  0.0082332
  10  108.945
  11  8.16055
  12  0.350604
  13  19.4095
  14  32.9806
  15  3.58102e-05
  16  25.6661
  17  8.0307e-06
  18  1.99091e-06
  19  0.306232
  20  0.187284
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.002e-04  8.233e-03  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.158e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.313e-01  1.873e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.095e+00  3.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.698 -28.173
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/437/likelihoodResults_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.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) = 4373.70349918
delta logL = -5.21509173268e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4373.70349918
delta logL = -5.21475958521e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4373.655     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      244 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7202        705.37        .90713E-02   -.70596E-03
   2  Index         2.9547        5.2417        .71233E-01    .16582E-03
   3  Normalizat    1.0736        .20080        .66891E-01    .12210E-04
   4  Prefactor     .93654        .88810E-01    .45403E-01    .27494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72023
  Index      = 2.95466
  Normalizat = 1.07355
  Prefactor  = 0.936538
 **********
 **   18 **HESSE 
 **********

 FCN=   4373.655     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7202        822.81        .26273E-03   -1.5970    
   2  Index         2.9547        6.8579        .11550E-01   -.42143    
   3  Normalizat    1.0736        .28046        .29593E-03   -.90605    
   4  Prefactor     .93654        .18805        .20720E-03   -.94876    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.11995e-06
Minuit parameter uncertainties:
  1  76.3211
  2  13.9649
  3  0.280847
  4  0.188176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437': 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) = 4373.65503484
delta logL = 0.0484121902073

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.720e+00  7.632e+01  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.955e+00  1.396e+01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.365e-01  1.882e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.074e+00  2.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.698 -28.173

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/437/cmap_HighResolution_600134401_600393601_4FGL_J2150.7-2810_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.83e-03', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-27 19:18:18.228833', job_id='437', GAL2='0.94', fit_tolerance='1e-08', EG2='1.07', EG='1.10', time_epoch_completed='1632795498.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.84e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1392' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:18:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 437: <4FGL_J2150.7-2810_daily_bin1392> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1392> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 19:06:04 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:08:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 19:08:44 2021
Terminated at Mon Sep 27 19:18:18 2021
Results reported at Mon Sep 27 19:18:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1392 327.698 -28.1728 600134401 600393601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2150.7-2810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            734 sec.

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

