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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin525
RA = 220.561, Dec = 6.3755
tmin = 375408001, tmax = 375667201
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='712638', job_status='RUN', time_executed='2021-09-10 05:45:08.171435', time_epoch_executed='1631277908.17' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712638/ft1_4FGL_J1442.2+0622_daily_bin525.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712638/ft1_4FGL_J1442.2+0622_daily_bin525.fits outfile=/scratch/kocevski/712638/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin525.fits ra=220.561 dec=6.3755 rad=12.0 tmin=375408001.0 tmax=375667201.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.25
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.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/712638/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin525.fits evtable="EVENTS" outfile="/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits" evtable="EVENTS" scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits sctable="SC_DATA" outfile=/scratch/kocevski/712638/ltcube_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.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/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits
.....................!
real 11.80
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits sctable="SC_DATA" expcube=/scratch/kocevski/712638/ltcube_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits outfile=/scratch/kocevski/712638/expmap_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.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/712638/ltcube_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits
.....................!
real 190.42
user 185.54
sys 4.52

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

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits outfile=/scratch/kocevski/712638/cmap_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.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=220.561 yref=6.3755 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits outfile=/scratch/kocevski/712638/cmap_HighResolution_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.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=220.561 yref=6.3755 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/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712638/Model_4FGL_J1442.2+0622_daily_bin525.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/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits.....................!
real 57.43
user 55.10
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits', '/scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits', expMap='/scratch/kocevski/712638/expmap_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits', expCube='/scratch/kocevski/712638/ltcube_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712638/Model_4FGL_J1442.2+0622_daily_bin525.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712638/ft1_filtered_4FGL_J1442.2+0622_daily_bin525.fits
Spacecraft file(s): /scratch/kocevski/712638/ft2_4FGL_J1442.2+0622_daily_bin525.fits
Exposure map: /scratch/kocevski/712638/expmap_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits
Exposure cube: /scratch/kocevski/712638/ltcube_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712638/Model_4FGL_J1442.2+0622_daily_bin525.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) = 7721.77697596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40512       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31580E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.939       1.0000         .10000E-03   10000.    
     4 'norm      '    11.335       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11538E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2297       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.357       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17157E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.338       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10914E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .22951       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0768       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3160       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7721.776     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2512 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39269        4.9440       -.12090E-05    .11403E-03
   2  Prefactor     .10000E-03    6.6127       -.48394E-06** at limit **
   3  Prefactor     13.930        28.909       -.67681E-05   -.14414E-04
   4  norm          11.334        8.1176        .18903E-06    .46768E-04
   5  Prefactor     .10000E-03    63.201        .52636E-04** at limit **
   6  norm          .10000E-03    8.5974        .15020E-05** at limit **
   7  Prefactor     9.2162        8.3181        .19144E-05    .29915E-04
   8  Prefactor     .10000E-03    5.8494       -.13556E-06** at limit **
   9  Prefactor     44.342        51.353       -.16309E-04   -.27022E-04
  10  Prefactor     .10000E-03    11.283        .69680E-05** at limit **
  11  norm          .10000E-03    7.5145       -.53141E-06** at limit **
  12  Prefactor     .10001E-03    83.510       -.62131E-04** at limit **
  13  Prefactor     .10000E-03    10.842       -.81609E-05** at limit **
  14  Prefactor     11.377        15.865       -.44902E-05    .25978E-03
  15  Prefactor     .10000E-03    28.141       -.18731E-04** at limit **
  16  Prefactor     .10000E-03    22.037        .67720E-05** at limit **
  17  norm          .22945        .14519       -.11834E-07    .39479E-04
  18  norm          2.0756        2.2489       -.37059E-06   -.89980E-03
  19  norm          .10000E-03    2.5463       -.23477E-07** at limit **
  20  norm          .10000E-03    1.2711       -.28060E-07** at limit **
  21  Prefactor     .10000E-03    33.673        .65284E-05** at limit **
  22  Normalizat    1.3160        .19218        .12100E-05    .35016E-04
  23  Prefactor     .85017        .11223        .82303E-06    .20808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.392686
  Prefactor  = 0.000100003
  Prefactor  = 13.9305
  norm       = 11.3343
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 9.21618
  Prefactor  = 0.0001
  Prefactor  = 44.3417
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 11.3766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.22945
  norm       = 2.07557
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.316
  Prefactor  = 0.850172
 **********
 **   18 **HESSE 
 **********

 FCN=   7721.776     FROM HESSE     STATUS=OK           368 CALLS     2880 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39269        42.237        .37784E-02   -1.5583    
   2  Prefactor     .10000E-03    41.765        .43756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.930        28.919        .10728E-03   -1.4961    
   4  norm          11.334        8.1192        .11899E-03   -1.5035    
   5  Prefactor     .10000E-03    63.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.6029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2162        8.3105        .13192E-03   -1.5101    
   8  Prefactor     .10000E-03    5.8987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     44.342        51.515        .60197E-04   -1.4375    
  10  Prefactor     .10000E-03    11.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.5501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    84.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.377        15.825        .11898E-03   -1.5033    
  15  Prefactor     .10000E-03    28.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22945        .14091        .25521E-03   -1.5612    
  18  norm          2.0756        2.2386        .12871E-03   -1.5420    
  19  norm          .10000E-03    2.5537        .13693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.2793        .96709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    33.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3160        .22930        .27472E-03   -.83090    
  23  Prefactor     .85017        .13454        .20012E-03   -.97905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02425e-09
Minuit parameter uncertainties:
  1  8.15002
  2  0.000674528
  3  28.9483
  4  8.12001
  5  0.000701942
  6  5.55431e-06
  7  8.31151
  8  2.82005e-05
  9  51.5672
  10  2.04155e-06
  11  4.27194e-06
  12  0.00136745
  13  7.6929e-06
  14  15.8308
  15  0.000235962
  16  5.18766e-05
  17  0.140913
  18  2.23871
  19  1.66302e-06
  20  1.19829e-06
  21  5.05026e-05
  22  0.229473
  23  0.134595
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  4.272e-06  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.502e-01  1.346e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.316e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 4.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712638/likelihoodResults_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.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) = 7721.77613906
delta logL = -0.000631021647678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7721.77550848
delta logL = -4.40846633865e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6881       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3160       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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.

 FCN=   7721.776     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      246 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    337.75        .18142E-01** at limit **
   2  alpha         2.0478        3.8866        .16520       -.11286E-07
   3  Normalizat    1.3160        .32049E-01    .27472E-03    .40928E-04
   4  Prefactor     .85017        .19344E-01    .20012E-03    .62888E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.04778
  Normalizat = 1.316
  Prefactor  = 0.850171
 **********
 **   18 **HESSE 
 **********

 FCN=   7721.776     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4819        .24919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0478        2.6923        .66079E-02   -.18189    
   3  Normalizat    1.3160        .22247        .10989E-04   -.83090    
   4  Prefactor     .85017        .13432        .80048E-05   -.97905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06623e-11
Minuit parameter uncertainties:
  1  2.18902e-05
  2  578.818
  3  0.222629
  4  0.134368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712638': 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) = 7721.77550732
delta logL = 7.15338501323e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.189e-05  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.048e+00  5.788e+02  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.502e-01  1.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.316e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

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/712638/cmap_HighResolution_375408001_375667201_4FGL_J1442.2+0622_daily_bin525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.70e-05', job_status='DONE', photon_flux_upper_limit='4.70e-08', time_completed='2021-09-10 05:55:56.200209', job_id='712638', GAL2='0.85', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1631278556.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='525' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 712638: <4FGL_J1442.2+0622_daily_bin525> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin525> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:39 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:41:41 2021
Terminated at Fri Sep 10 05:55:56 2021
Results reported at Fri Sep 10 05:55:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin525 220.561 6.3755 375408001 375667201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

