/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 4 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 = 7477
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin392
RA = 237.697, Dec = 5.4725
tmin = 340934401, tmax = 341193601
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='743199', job_status='RUN', time_executed='2021-09-12 15:16:26.424019', time_epoch_executed='1631484986.42' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743199/ft1_4FGL_J1550.7+0528_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743199/ft1_4FGL_J1550.7+0528_daily_bin392.fits outfile=/scratch/kocevski/743199/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin392.fits ra=237.697 dec=5.4725 rad=12.0 tmin=340934401.0 tmax=341193601.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 2.81
user 2.61
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.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/743199/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin392.fits evtable="EVENTS" outfile="/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.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.43
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/743199/ltcube_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.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/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits
.....................!
real 9.98
user 9.63
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/743199/ltcube_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits outfile=/scratch/kocevski/743199/expmap_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.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/743199/ltcube_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits
.....................!
real 154.83
user 150.68
sys 3.80

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

Setting source of interest to:
4FGL J1550.7+0528 @ 237.697 5.4725

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits outfile=/scratch/kocevski/743199/cmap_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.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=237.697 yref=5.4725 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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits outfile=/scratch/kocevski/743199/cmap_HighResolution_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.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=237.697 yref=5.4725 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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743199/Model_4FGL_J1550.7+0528_daily_bin392.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/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits.....................!
real 52.10
user 51.00
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits', '/scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits', expMap='/scratch/kocevski/743199/expmap_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits', expCube='/scratch/kocevski/743199/ltcube_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/743199/Model_4FGL_J1550.7+0528_daily_bin392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1550.7+0528'

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.275e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/743199/ft1_filtered_4FGL_J1550.7+0528_daily_bin392.fits
Spacecraft file(s): /scratch/kocevski/743199/ft2_4FGL_J1550.7+0528_daily_bin392.fits
Exposure map: /scratch/kocevski/743199/expmap_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits
Exposure cube: /scratch/kocevski/743199/ltcube_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/743199/Model_4FGL_J1550.7+0528_daily_bin392.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) = 8128.21756103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1064       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11953E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.357       1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.827       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9029       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    66.983       1.0000         .10000E-03   10000.    
    11 'norm      '    .59721       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.873       1.0000         .10000E-03   10000.    
    13 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.6567       1.0000         .10000E-03   10000.    
    15 'norm      '    11.466       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.366       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8244       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.851       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0370       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8128.200     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2408 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1054        2.3175        .74244E-07   -.37882E-04
   2  norm          .10000E-03    2.2461        .20561E-07** at limit **
   3  norm          .10000E-03    6.4408       -.20600E-06** at limit **
   4  Prefactor     57.332        52.420        .32389E-05   -.24471E-05
   5  Prefactor     63.823        38.104        .80623E-06   -.77011E-05
   6  Prefactor     .96901        3.6994        .65808E-06    .44212E-05
   7  Prefactor     .10000E-03    11.841       -.25960E-06** at limit **
   8  norm          1.9029        2.0762        .10665E-06   -.14053E-04
   9  Prefactor     2.3664        4.2182        .39394E-05   -.22432E-03
  10  Prefactor     66.981        36.364        .23707E-06   -.64689E-05
  11  norm          .59540        2.9357       -.34242E-06   -.18168E-03
  12  Prefactor     43.876        45.152       -.44151E-06   -.25286E-04
  13  norm          .10000E-03    10.243        .42302E-06** at limit **
  14  norm          6.6566        2.2508        .32767E-07   -.80505E-04
  15  norm          11.467        11.395        .11939E-06   -.25135E-04
  16  norm          .10000E-03    49.237       -.19597E-05** at limit **
  17  Prefactor     .10000E-03    26.515        .78183E-06** at limit **
  18  Prefactor     40.294        38.245        .87798E-05    .42662E-04
  19  Prefactor     4.8347        9.6578       -.15354E-05   -.76543E-04
  20  Prefactor     15.849        11.181        .14962E-06   -.89578E-07
  21  Normalizat    1.0371        .25264       -.24705E-05   -.87650E-04
  22  Prefactor     1.0216        .99769E-01   -.56049E-06   -.19662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10539
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 57.3318
  Prefactor  = 63.8227
  Prefactor  = 0.969007
  Prefactor  = 0.0001
  norm       = 1.90292
  Prefactor  = 2.36639
  Prefactor  = 66.9815
  norm       = 0.595402
  Prefactor  = 43.8759
  norm       = 0.0001
  norm       = 6.6566
  norm       = 11.4666
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.2942
  Prefactor  = 4.83472
  Prefactor  = 15.8486
  Normalizat = 1.03709
  Prefactor  = 1.02155
 **********
 **   18 **HESSE 
 **********

 FCN=   8128.200     FROM HESSE     STATUS=OK           346 CALLS     2754 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1054        2.3030        .13887E-03   -1.5418    
   2  norm          .10000E-03    2.2472        .13196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.6954        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.332        52.402        .52971E-04   -1.4192    
   5  Prefactor     63.823        38.233        .50230E-04   -1.4108    
   6  Prefactor     .96901        3.6688        .32081E-03   -1.5511    
   7  Prefactor     .10000E-03    11.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9029        2.0586        .13128E-03   -1.5432    
   9  Prefactor     2.3664        4.2276        .11664E-02   -1.5400    
  10  Prefactor     66.981        36.363        .49040E-04   -1.4069    
  11  norm          .59540        5.7747        .28800E-02   -1.5554    
  12  Prefactor     43.876        45.149        .30263E-03   -1.4382    
  13  norm          .10000E-03    10.491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.6566        2.2501        .76145E-04   -1.5192    
  15  norm          11.467        11.399        .11831E-03   -1.5031    
  16  norm          .10000E-03    49.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.294        38.258        .63090E-04   -1.4438    
  19  Prefactor     4.8347        9.6260        .18316E-03   -1.5268    
  20  Prefactor     15.849        11.154        .10060E-03   -1.4912    
  21  Normalizat    1.0371        .28694        .40838E-03   -.91798    
  22  Prefactor     1.0216        .11474        .17041E-03   -.92015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1302e-08
Minuit parameter uncertainties:
  1  2.30314
  2  6.55038e-07
  3  8.25677e-06
  4  52.4442
  5  38.2475
  6  3.66968
  7  2.20698e-07
  8  2.05871
  9  4.22811
  10  36.375
  11  3.70867
  12  45.1843
  13  3.77092e-05
  14  2.2501
  15  11.4008
  16  1.81478e-05
  17  1.88172e-05
  18  38.2813
  19  9.62908
  20  11.1556
  21  0.287373
  22  0.114765
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.954e-01  3.709e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.022e+00  1.148e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.037e+00  2.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 9.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743199/likelihoodResults_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.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) = 8128.19070001
delta logL = 0.00925482687308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8128.19044353
delta logL = 0.00951130986959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64055       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5334       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8128.190     FROM MIGRAD    STATUS=FAILED        95 CALLS      282 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63639        5.2333        .32181E-03   -.29180E-04
   2  alpha         2.5298        1.8296        .48866E-01    .18058E-03
   3  Normalizat    1.0349        .27197        .40877E-03    .80654E-06
   4  Prefactor     1.0217        .11343        .17040E-03    .13878E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8128.190     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      360 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63639        5.2333        .14384E-03   -1.5548    
   2  alpha         2.5298        1.8296        .27560E-02    .11927E-01
   3  Normalizat    1.0349        .27197        .41550E-03   -.91871    
   4  Prefactor     1.0217        .11343        .12265E-03   -.92011    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8128.190     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      397 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63639        4.1357        .12873E-04   -.44159E-05
   2  alpha         2.5298        1.6703        .97733E-02    .69676E-05
   3  Normalizat    1.0349        .27221        .16351E-04   -.13906E-06
   4  Prefactor     1.0217        .11345        .68159E-05   -.33359E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.636394
  alpha      = 2.52982
  Normalizat = 1.03488
  Prefactor  = 1.02167
 **********
 **   18 **HESSE 
 **********

 FCN=   8128.190     FROM HESSE     STATUS=OK            25 CALLS      422 TOTAL
                     EDM=   .65E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63639        4.0315        .25745E-05   -1.5548    
   2  alpha         2.5298        1.6527        .19547E-02    .11928E-01
   3  Normalizat    1.0349        .27228        .32702E-05   -.91871    
   4  Prefactor     1.0217        .11348        .13632E-05   -.92011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50541e-14
Minuit parameter uncertainties:
  1  3.20357
  2  1.80567
  3  0.272646
  4  0.113504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743199': 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) = 8128.19043951
delta logL = 0.0095153278744

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.364e-01  3.204e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.530e+00  1.806e+00  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.022e+00  1.135e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.035e+00  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 237.697 5.473

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/743199/cmap_HighResolution_340934401_341193601_4FGL_J1550.7+0528_daily_bin392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2021-09-12 15:26:03.200365', job_id='743199', GAL2='1.02', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1631485563.2', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.52e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='392' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:26:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 743199: <4FGL_J1550.7+0528_daily_bin392> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin392> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:31 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:16:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 15:16:14 2021
Terminated at Sun Sep 12 15:26:03 2021
Results reported at Sun Sep 12 15:26:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin392 237.697 5.4725 340934401 341193601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1550.7+0528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            632 sec.

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

